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/space.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'native/src/widget/space.rs') diff --git a/native/src/widget/space.rs b/native/src/widget/space.rs index 392f2319..e56a8fe1 100644 --- a/native/src/widget/space.rs +++ b/native/src/widget/space.rs @@ -77,6 +77,7 @@ where fn hash_layout(&self, state: &mut Hasher) { std::any::TypeId::of::().hash(state); + self.width.hash(state); self.height.hash(state); } -- cgit