summaryrefslogtreecommitdiffstats
path: root/native/src/widget/pane_grid/content.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-02-23 22:41:22 +0700
committerLibravatar GitHub <noreply@github.com>2022-02-23 22:41:22 +0700
commitaf7cbf0003496d757696ea6e15ea32f0649cf8f9 (patch)
treea586436e4a1076543a3205ebc895a8463d9f7ffe /native/src/widget/pane_grid/content.rs
parent9fe50801537e8fbfd2914f5139b5a609929e25db (diff)
parent1313c94e3bb206f064462bc521f78dbffc2a6cd6 (diff)
downloadiced-af7cbf0003496d757696ea6e15ea32f0649cf8f9.tar.gz
iced-af7cbf0003496d757696ea6e15ea32f0649cf8f9.tar.bz2
iced-af7cbf0003496d757696ea6e15ea32f0649cf8f9.zip
Merge pull request #1263 from iced-rs/remove-hash-layout
Remove `hash_layout` method from `Widget` trait
Diffstat (limited to 'native/src/widget/pane_grid/content.rs')
-rw-r--r--native/src/widget/pane_grid/content.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/native/src/widget/pane_grid/content.rs b/native/src/widget/pane_grid/content.rs
index 6d12aa2d..8b0e8d2a 100644
--- a/native/src/widget/pane_grid/content.rs
+++ b/native/src/widget/pane_grid/content.rs
@@ -5,9 +5,7 @@ use crate::overlay;
use crate::renderer;
use crate::widget::container;
use crate::widget::pane_grid::TitleBar;
-use crate::{
- Clipboard, Element, Hasher, Layout, Point, Rectangle, Shell, Size,
-};
+use crate::{Clipboard, Element, Layout, Point, Rectangle, Shell, Size};
/// The content of a [`Pane`].
///
@@ -236,14 +234,6 @@ where
.max(title_bar_interaction)
}
- pub(crate) fn hash_layout(&self, state: &mut Hasher) {
- if let Some(title_bar) = &self.title_bar {
- title_bar.hash_layout(state);
- }
-
- self.body.hash_layout(state);
- }
-
pub(crate) fn overlay(
&mut self,
layout: Layout<'_>,