summaryrefslogtreecommitdiffstats
path: root/pure/src/widget/scrollable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pure/src/widget/scrollable.rs')
-rw-r--r--pure/src/widget/scrollable.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/pure/src/widget/scrollable.rs b/pure/src/widget/scrollable.rs
index bbda50e5..1548fa9d 100644
--- a/pure/src/widget/scrollable.rs
+++ b/pure/src/widget/scrollable.rs
@@ -7,7 +7,7 @@ use iced_native::layout::{self, Layout};
use iced_native::mouse;
use iced_native::renderer;
use iced_native::widget::scrollable;
-use iced_native::{Clipboard, Hasher, Length, Point, Rectangle, Shell, Vector};
+use iced_native::{Clipboard, Length, Point, Rectangle, Shell, Vector};
pub use iced_style::scrollable::StyleSheet;
@@ -115,14 +115,6 @@ where
self.height
}
- fn hash_layout(&self, state: &mut Hasher) {
- use std::hash::Hash;
-
- self.tag().hash(state);
- self.height.hash(state);
- self.content.as_widget().hash_layout(state)
- }
-
fn layout(
&self,
renderer: &Renderer,