Compute panes regions and focus on click

This commit is contained in:
Héctor Ramón Jiménez 2020-03-04 22:01:57 +01:00
parent b6926d9ab4
commit d7f32d47ba
3 changed files with 190 additions and 19 deletions

View file

@ -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()
}