fix: buttons are focusable again
This commit is contained in:
parent
7a02c9a296
commit
24464908f6
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,
|
||||
);
|
||||
});
|
||||
let state = tree.state.downcast_mut::<State>();
|
||||
operation.focusable(Some(&self.id), layout.bounds(), state);
|
||||
}
|
||||
|
||||
fn update(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue