Merge pull request #101 from Shootertrex/fix/image-widget-hashing

Added path to image hash so it updates when path changes
This commit is contained in:
Héctor Ramón 2019-12-02 00:26:51 +01:00 committed by GitHub
commit be0df0669e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ where
}
fn hash_layout(&self, state: &mut Hasher) {
self.path.hash(state);
self.width.hash(state);
self.height.hash(state);
}