diff options
author | 2020-11-17 06:13:56 +0100 | |
---|---|---|
committer | 2020-11-17 06:13:56 +0100 | |
commit | c03d46719ef79a796e03dab394248a55d92e0fbd (patch) | |
tree | 724fdd1df8631bf46aec7022e8d821d073d4cdd5 /native/src/widget/pane_grid/state.rs | |
parent | df712f9ccfddebafdc7a7f97953f7249176d28e7 (diff) | |
download | iced-c03d46719ef79a796e03dab394248a55d92e0fbd.tar.gz iced-c03d46719ef79a796e03dab394248a55d92e0fbd.tar.bz2 iced-c03d46719ef79a796e03dab394248a55d92e0fbd.zip |
Remove `Focus` in `pane_grid`
Since #608, the `PaneGrid` widget does not handle pane focus.
Diffstat (limited to 'native/src/widget/pane_grid/state.rs')
-rw-r--r-- | native/src/widget/pane_grid/state.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/native/src/widget/pane_grid/state.rs b/native/src/widget/pane_grid/state.rs index be36b070..7a51781e 100644 --- a/native/src/widget/pane_grid/state.rs +++ b/native/src/widget/pane_grid/state.rs @@ -26,22 +26,6 @@ pub struct State<T> { pub(super) internal: Internal, } -/// The current focus of a [`Pane`]. -/// -/// [`Pane`]: struct.Pane.html -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum Focus { - /// The [`Pane`] is just focused. - /// - /// [`Pane`]: struct.Pane.html - Idle, - - /// The [`Pane`] is being dragged. - /// - /// [`Pane`]: struct.Pane.html - Dragging, -} - impl<T> State<T> { /// Creates a new [`State`], initializing the first pane with the provided /// state. |