Add scoped overlay hosts

This commit is contained in:
iris committed 2026-09-10 18:49:03 -04:00
1 parent a33fbca966
commit 44a5da378b
14 files changed
+882 -27

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ impl DefaultAppState for State {
.ui
.widgets
.add_strong(ScrollArea::new(span.any(), Axis::Y, Pin::End));
ui_state.set_root(root.any());
ui_state.set_root(rsc, root.any());
Self {
ui_state,
span: span_weak,
+1 -1
View File
@@ -79,7 +79,7 @@ impl DefaultAppState for State {
.masked()
.background(rect(PaintId::WHITE))
.add_strong(rsc);
ui_state.set_root(root.any());
ui_state.set_root(rsc, root.any());
Self { ui_state }
}