Hash type ids in Widget::hash_layout impls

This commit is contained in:
Héctor Ramón Jiménez 2020-03-30 17:28:55 +02:00
parent 0539cd1b85
commit d07304fb85
15 changed files with 51 additions and 32 deletions

View file

@ -163,6 +163,8 @@ where
}
fn hash_layout(&self, state: &mut Hasher) {
std::any::TypeId::of::<Text>().hash(state);
self.content.hash(state);
self.size.hash(state);
self.width.hash(state);