diff options
author | 2020-03-17 07:28:28 +0100 | |
---|---|---|
committer | 2020-03-17 07:30:05 +0100 | |
commit | 05beb878527b4d4e3141ca5ba09337d6ada858be (patch) | |
tree | d95ab2be4be002618eb054c61007b2ab661cd164 /examples/pane_grid | |
parent | 1cd1582506810255394d2f9019597e9252bd8daa (diff) | |
download | iced-05beb878527b4d4e3141ca5ba09337d6ada858be.tar.gz iced-05beb878527b4d4e3141ca5ba09337d6ada858be.tar.bz2 iced-05beb878527b4d4e3141ca5ba09337d6ada858be.zip |
Move common keyboard types to `iced_core`
Also expose them in `iced` through `iced_native` and `iced_web`.
Diffstat (limited to 'examples/pane_grid')
-rw-r--r-- | examples/pane_grid/Cargo.toml | 1 | ||||
-rw-r--r-- | examples/pane_grid/src/main.rs | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/examples/pane_grid/Cargo.toml b/examples/pane_grid/Cargo.toml index fb160a8d..3ed912ac 100644 --- a/examples/pane_grid/Cargo.toml +++ b/examples/pane_grid/Cargo.toml @@ -7,4 +7,3 @@ publish = false [dependencies] iced = { path = "../.." } -iced_native = { path = "../../native" } diff --git a/examples/pane_grid/src/main.rs b/examples/pane_grid/src/main.rs index 461ffc30..9e6283ab 100644 --- a/examples/pane_grid/src/main.rs +++ b/examples/pane_grid/src/main.rs @@ -1,8 +1,8 @@ use iced::{ - button, pane_grid, scrollable, Align, Button, Column, Container, Element, - HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable, Settings, Text, + button, keyboard, pane_grid, scrollable, Align, Button, Column, Container, + Element, HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable, + Settings, Text, }; -use iced_native::input::keyboard; pub fn main() { Example::run(Settings::default()) |