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/svg.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'native/src/widget/svg.rs') diff --git a/native/src/widget/svg.rs b/native/src/widget/svg.rs index b899da1e..4a227f3d 100644 --- a/native/src/widget/svg.rs +++ b/native/src/widget/svg.rs @@ -99,6 +99,8 @@ where } fn hash_layout(&self, state: &mut Hasher) { + std::any::TypeId::of::().hash(state); + self.width.hash(state); self.height.hash(state); } -- cgit