diff options
author | 2019-12-02 00:26:51 +0100 | |
---|---|---|
committer | 2019-12-02 00:26:51 +0100 | |
commit | be0df0669ed2dbb06b6d955b25abacd59a3ca634 (patch) | |
tree | d80152932a2570044740fd801c7fc3598d137108 /native | |
parent | e648de560dd7372626dfce33bf508e9d41da6409 (diff) | |
parent | f9abee391d894e4bec38a0fc28b267e27caea271 (diff) | |
download | iced-be0df0669ed2dbb06b6d955b25abacd59a3ca634.tar.gz iced-be0df0669ed2dbb06b6d955b25abacd59a3ca634.tar.bz2 iced-be0df0669ed2dbb06b6d955b25abacd59a3ca634.zip |
Merge pull request #101 from Shootertrex/fix/image-widget-hashing
Added path to image hash so it updates when path changes
Diffstat (limited to '')
-rw-r--r-- | native/src/widget/image.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs index 4c588c9d..bcfc40b2 100644 --- a/native/src/widget/image.rs +++ b/native/src/widget/image.rs @@ -100,6 +100,7 @@ where } fn hash_layout(&self, state: &mut Hasher) { + self.path.hash(state); self.width.hash(state); self.height.hash(state); } |