summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-06-08 18:25:46 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-06-08 18:25:46 +0200
commitdcc4bb77e942f8550b0d7ee08fa5a2882fd22ecd (patch)
treec394f926fc7f9da8489107657995c4d6d3ac2515 /native
parentbe0cc2c780256ba776e52e0dd14f384553d6a332 (diff)
downloadiced-dcc4bb77e942f8550b0d7ee08fa5a2882fd22ecd.tar.gz
iced-dcc4bb77e942f8550b0d7ee08fa5a2882fd22ecd.tar.bz2
iced-dcc4bb77e942f8550b0d7ee08fa5a2882fd22ecd.zip
Remove unused `split_cache` in `pane_grid`
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/pane_grid/state.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/native/src/widget/pane_grid/state.rs b/native/src/widget/pane_grid/state.rs
index 7a53d6c7..4b13fb8e 100644
--- a/native/src/widget/pane_grid/state.rs
+++ b/native/src/widget/pane_grid/state.rs
@@ -4,7 +4,6 @@ use crate::{
Hasher, Point, Rectangle, Size,
};
-use std::cell::RefCell;
use std::collections::HashMap;
/// The state of a [`PaneGrid`].
@@ -72,7 +71,6 @@ impl<T> State<T> {
internal: Internal {
layout,
last_id,
- split_cache: RefCell::new(None),
action: Action::Idle { focus: None },
},
modifiers: keyboard::ModifiersState::default(),
@@ -310,7 +308,6 @@ pub struct Internal {
layout: Node,
last_id: usize,
action: Action,
- split_cache: RefCell<Option<HashMap<Split, (Axis, f32, Rectangle)>>>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]