Keep retained masks and reparented drawings alive, and advance collapsed slots

This commit is contained in:
iris-ai committed 2026-09-19 13:43:11 -04:00
1 parent cadfba05dd
commit add6774980
6 files changed
+229 -9

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ pub struct ActiveData {
/// Its primitives, each keeping the box it was written in -- in this
/// widget's extent coordinates, which is what a move recomposes from.
pub primitives: Vec<RetainedPrimitive>,
/// An owned mask holds one reference independently of its primitives.
pub mask_region: Option<UiRegion>,
pub children: Vec<WidgetId>,
/// The children whose size this widget read while drawing.