Track retained layout validity explicitly

This commit is contained in:
iris-ai committed 2026-09-15 16:03:53 -04:00
1 parent 691e3eb23c
commit 29c7881c8a
25 files changed
+836 -795

No files matched your search

-5
View File
@@ -41,11 +41,6 @@ impl Widget for Rect {
fn size_hint(&self, _: Axis) -> Option<Len> {
Some(Len::LEFTOVER)
}
/// Its box is its primitive's own region, so a new one is written there.
fn on_resize(&self, _: Axis) -> OnResize {
OnResize::Scale
}
}
pub fn rect(color: UiColor) -> Rect {