summaryrefslogtreecommitdiffstats
path: root/native/src/widget/pane_grid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/pane_grid.rs')
-rw-r--r--native/src/widget/pane_grid.rs19
1 files changed, 2 insertions, 17 deletions
diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs
index 5f293fa6..8ad63cf1 100644
--- a/native/src/widget/pane_grid.rs
+++ b/native/src/widget/pane_grid.rs
@@ -34,8 +34,8 @@ use crate::overlay;
use crate::renderer;
use crate::touch;
use crate::{
- Clipboard, Color, Element, Hasher, Layout, Length, Point, Rectangle, Shell,
- Size, Vector, Widget,
+ Clipboard, Color, Element, Layout, Length, Point, Rectangle, Shell, Size,
+ Vector, Widget,
};
pub use iced_style::pane_grid::{Line, StyleSheet};
@@ -666,21 +666,6 @@ where
}
}
- fn hash_layout(&self, state: &mut Hasher) {
- use std::hash::Hash;
-
- struct Marker;
- std::any::TypeId::of::<Marker>().hash(state);
-
- self.width.hash(state);
- self.height.hash(state);
- self.state.hash_layout(state);
-
- for (_, element) in &self.elements {
- element.hash_layout(state);
- }
- }
-
fn overlay(
&mut self,
layout: Layout<'_>,