summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-04 22:01:57 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-04 22:01:57 +0100
commitd7f32d47ba352616328f72323cad18351b326ae8 (patch)
treec541053a574018a95def03f8bd443c9478763006 /examples
parentb6926d9ab4ae0c45049c3a8c19616939cbe9db95 (diff)
downloadiced-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.rs5
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()
}