summaryrefslogtreecommitdiffstats
path: root/src/user_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/user_interface.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user_interface.rs b/src/user_interface.rs
index 3482c9b9..b269951d 100644
--- a/src/user_interface.rs
+++ b/src/user_interface.rs
@@ -86,7 +86,7 @@ impl<'a, Message, Renderer> UserInterface<'a, Message, Renderer> {
let root = root.into();
let hasher = &mut crate::Hasher::default();
- root.hash(hasher);
+ root.hash_layout(hasher);
let hash = hasher.finish();
@@ -302,7 +302,7 @@ impl Cache {
let root: Element<'_, (), ()> = Column::new().into();
let hasher = &mut crate::Hasher::default();
- root.hash(hasher);
+ root.hash_layout(hasher);
Cache {
hash: hasher.finish(),