Expose pane_grid::Focus for state-based styling
This commit is contained in:
parent
f11397c31a
commit
df6e3f8da9
2 changed files with 88 additions and 29 deletions
|
|
@ -116,7 +116,7 @@ impl Application for Launcher {
|
|||
fn view(&mut self) -> Element<Message> {
|
||||
let Self { panes } = self;
|
||||
|
||||
PaneGrid::new(panes, |pane, example| match example {
|
||||
PaneGrid::new(panes, |pane, example, _| match example {
|
||||
Example::Clock(clock) => clock
|
||||
.view()
|
||||
.map(move |message| Message::Clock(pane, message)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue