diff options
author | 2020-03-04 22:01:57 +0100 | |
---|---|---|
committer | 2020-03-04 22:01:57 +0100 | |
commit | d7f32d47ba352616328f72323cad18351b326ae8 (patch) | |
tree | c541053a574018a95def03f8bd443c9478763006 /examples | |
parent | b6926d9ab4ae0c45049c3a8c19616939cbe9db95 (diff) | |
download | iced-d7f32d47ba352616328f72323cad18351b326ae8.tar.gz iced-d7f32d47ba352616328f72323cad18351b326ae8.tar.bz2 iced-d7f32d47ba352616328f72323cad18351b326ae8.zip |
Compute `panes` regions and focus on click
Diffstat (limited to 'examples')
-rw-r--r-- | examples/panes/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/panes/src/main.rs b/examples/panes/src/main.rs index c1bf991a..65db2b40 100644 --- a/examples/panes/src/main.rs +++ b/examples/panes/src/main.rs @@ -12,6 +12,7 @@ pub fn main() { }) } +#[derive(Debug)] struct Launcher { panes: panes::State<Example>, } @@ -36,8 +37,6 @@ impl Application for Launcher { let (clock, _) = Clock::new(); let (panes, _) = panes::State::new(Example::Clock(clock)); - dbg!(&panes); - (Self { panes }, Command::none()) } @@ -61,6 +60,8 @@ impl Application for Launcher { } } + dbg!(self); + Command::none() } |