Expose pane_grid::Focus for state-based styling

This commit is contained in:
Héctor Ramón Jiménez 2020-03-11 23:25:00 +01:00
parent f11397c31a
commit df6e3f8da9
2 changed files with 88 additions and 29 deletions

View file

@ -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)),