diff options
author | 2020-11-10 02:32:57 +0100 | |
---|---|---|
committer | 2020-11-10 02:32:57 +0100 | |
commit | d6d5cf0294b1231f4909a782e90b491cc6838fae (patch) | |
tree | 41e746cb2559df2e2c8c94715cd6bd1c9c10617e /graphics | |
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 'graphics')
-rw-r--r-- | graphics/src/widget/pane_grid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/widget/pane_grid.rs b/graphics/src/widget/pane_grid.rs index 5b0eb391..1bc01c03 100644 --- a/graphics/src/widget/pane_grid.rs +++ b/graphics/src/widget/pane_grid.rs @@ -20,8 +20,8 @@ use iced_native::{ }; pub use iced_native::pane_grid::{ - Axis, Configuration, Content, Direction, DragEvent, Focus, KeyPressEvent, - Pane, ResizeEvent, Split, State, TitleBar, + Axis, Configuration, Content, Direction, DragEvent, Focus, Pane, + ResizeEvent, Split, State, TitleBar, }; /// A collection of panes distributed using either vertical or horizontal splits |