summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
Diffstat (limited to 'native')
-rw-r--r--native/src/user_interface.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs
index 42669f95..4bcf1e0c 100644
--- a/native/src/user_interface.rs
+++ b/native/src/user_interface.rs
@@ -95,12 +95,12 @@ where
) -> Self {
let root = root.into();
- let base =
- renderer.layout(&root, &layout::Limits::new(Size::ZERO, bounds));
-
let Cache { mut state } = cache;
state.diff(root.as_widget());
+ let base =
+ renderer.layout(&root, &layout::Limits::new(Size::ZERO, bounds));
+
UserInterface {
root,
base,