enso/lib/rust/ensogl/component
Paweł Grabarz 054e9c4694
Fix disappearing text labels when entering edit mode (#3945)
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.
2022-12-08 13:35:29 +00:00
..
button Wip/wdanilo/text shape system single scene 183406745 (#3776) 2022-11-03 08:35:06 +01:00
drop-down-menu Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
drop-manager Build script merge (#3743) 2022-10-10 23:38:48 +02:00
file-browser Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
flame-graph Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
grid-view Update component browser design (#3935) 2022-12-05 17:43:27 +00:00
gui Build script merge (#3743) 2022-10-10 23:38:48 +02:00
label Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
list-view Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
scroll-area Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
scrollbar Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
selector Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
sequence-diagram Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
shadow Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
slider Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
src Implement TextGridView (#3819) 2022-11-18 18:52:28 +00:00
text Fix disappearing text labels when entering edit mode (#3945) 2022-12-08 13:35:29 +00:00
toggle-button Wip/wdanilo/text shape system single scene 183406745 (#3776) 2022-11-03 08:35:06 +01:00
tooltip Display object refactoring (#3877) 2022-11-25 07:49:52 +01:00
Cargo.toml Grid View with Scrolling (#3588) 2022-07-19 08:39:23 +00:00