diff options
author | 2020-11-10 02:32:57 +0100 | |
---|---|---|
committer | 2020-11-10 02:32:57 +0100 | |
commit | d6d5cf0294b1231f4909a782e90b491cc6838fae (patch) | |
tree | 41e746cb2559df2e2c8c94715cd6bd1c9c10617e /glow | |
parent | c53022e8dff6fc6286b60bc897232fe4cb6e6202 (diff) | |
download | iced-d6d5cf0294b1231f4909a782e90b491cc6838fae.tar.gz iced-d6d5cf0294b1231f4909a782e90b491cc6838fae.tar.bz2 iced-d6d5cf0294b1231f4909a782e90b491cc6838fae.zip |
Restore hotkeys in `pane_grid` example
- Implement `subscription::events_with`
- Remove `pane_grid::KeyPressEvent`
- Return closest sibling in `pane_grid::State::close`
Diffstat (limited to 'glow')
-rw-r--r-- | glow/src/widget/pane_grid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glow/src/widget/pane_grid.rs b/glow/src/widget/pane_grid.rs index 3c47b562..9e6d27d0 100644 --- a/glow/src/widget/pane_grid.rs +++ b/glow/src/widget/pane_grid.rs @@ -11,8 +11,8 @@ use crate::Renderer; pub use iced_native::pane_grid::{ - Axis, Configuration, Direction, DragEvent, Focus, KeyPressEvent, Node, - Pane, ResizeEvent, Split, State, + Axis, Configuration, Direction, DragEvent, Focus, Node, Pane, ResizeEvent, + Split, State, }; /// A collection of panes distributed using either vertical or horizontal splits |