Stop tracking pressed_modifiers in PaneGrid

This commit is contained in:
Héctor Ramón Jiménez 2020-07-09 05:28:19 +02:00
parent e3cd947437
commit 2334c7d1d5
2 changed files with 0 additions and 8 deletions

View file

@ -1,5 +1,4 @@
use crate::{
keyboard,
pane_grid::{Axis, Configuration, Direction, Node, Pane, Split},
Hasher, Point, Rectangle, Size,
};
@ -25,7 +24,6 @@ use std::collections::HashMap;
pub struct State<T> {
pub(super) panes: HashMap<Pane, T>,
pub(super) internal: Internal,
pub(super) modifiers: keyboard::ModifiersState,
}
/// The current focus of a [`Pane`].
@ -76,7 +74,6 @@ impl<T> State<T> {
last_id,
action: Action::Idle { focus: None },
},
modifiers: keyboard::ModifiersState::default(),
}
}