Compute panes regions and focus on click
This commit is contained in:
parent
b6926d9ab4
commit
d7f32d47ba
3 changed files with 190 additions and 19 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue