summaryrefslogtreecommitdiffstats
path: root/native/src/widget/image.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--native/src/widget/image.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs
index 17f06ebe..81f99acb 100644
--- a/native/src/widget/image.rs
+++ b/native/src/widget/image.rs
@@ -1,8 +1,6 @@
//! Display images in your user interface.
-use crate::{
- Element, Hasher, Layout, MouseCursor, Node, Point, Rectangle, Widget,
-};
+use crate::{Element, Hasher, Layout, MouseCursor, Node, Point, Widget};
use std::hash::Hash;
@@ -31,6 +29,7 @@ where
fn hash_layout(&self, state: &mut Hasher) {
self.width.hash(state);
self.height.hash(state);
+ self.align_self.hash(state);
}
}