diff options
Diffstat (limited to '')
| -rw-r--r-- | native/src/widget/pane_grid.rs | 2 | ||||
| -rw-r--r-- | native/src/widget/pane_grid/state.rs | 16 | 
2 files changed, 1 insertions, 17 deletions
diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs index 43e752cb..acb43276 100644 --- a/native/src/widget/pane_grid.rs +++ b/native/src/widget/pane_grid.rs @@ -25,7 +25,7 @@ pub use direction::Direction;  pub use node::Node;  pub use pane::Pane;  pub use split::Split; -pub use state::{Focus, State}; +pub use state::State;  pub use title_bar::TitleBar;  use crate::container; 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.  | 
