fix: buttons are focusable again
This commit is contained in:
parent
7a02c9a296
commit
c038d3775b
1 changed files with 2 additions and 0 deletions
|
|
@ -357,6 +357,8 @@ impl<'a, Message: 'a + Clone> Widget<Message, crate::Theme, crate::Renderer>
|
||||||
operation,
|
operation,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
let state = tree.state.downcast_mut::<State>();
|
||||||
|
operation.focusable(Some(&self.id), layout.bounds(), state);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn update(
|
fn update(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue