From d07304fb85c4ea7293b61c5d0a366ffbbc511de2 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 30 Mar 2020 17:28:55 +0200 Subject: Hash type ids in `Widget::hash_layout` impls --- native/src/widget/image.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'native/src/widget/image.rs') diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs index 5b067687..9dc13fa9 100644 --- a/native/src/widget/image.rs +++ b/native/src/widget/image.rs @@ -102,6 +102,8 @@ where } fn hash_layout(&self, state: &mut Hasher) { + std::any::TypeId::of::().hash(state); + self.handle.hash(state); self.width.hash(state); self.height.hash(state); -- cgit