mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 17:11:31 +03:00
054e9c4694
Fixes regression https://www.pivotaltracker.com/n/projects/2539304/stories/183895961 # Important Notes The root cause of the issue was a missing deref before `flavor()` call. The autoderef doesn't work there, because the `ShapeSystemFlavorProvider` trait is implemented for all types, including `Ref`. We should reconsider if blanket default impl is a good idea, as this is a very scary footgun. Apart from that, the cleanup of layer elements was not handling systems with same ID but different flavors correctly. That could cause text to disappear when given layer had text of multiple fonts, and all shapes of one of them got removed. Now the element is removed from layer only when all systems sharing given system ID have no more instances to render. |
||
---|---|---|
.. | ||
button | ||
drop-down-menu | ||
drop-manager | ||
file-browser | ||
flame-graph | ||
grid-view | ||
gui | ||
label | ||
list-view | ||
scroll-area | ||
scrollbar | ||
selector | ||
sequence-diagram | ||
shadow | ||
slider | ||
src | ||
text | ||
toggle-button | ||
tooltip | ||
Cargo.toml |