Skip to content

Commit

Permalink
Update 0000-shared-widget-state.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaunkst authored Dec 1, 2022
1 parent 8c6e6de commit cb3aa18
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions text/0000-shared-widget-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,22 +355,11 @@ impl Focusable for State {
widget::store::focus::is_focused(&self.id)
}

/// Maybe we want to navigate on our own terms.
pub fn focus_next() -> Message {
widget::store::focus::focus_next()
}

pub fn focus_prev() -> Message {
widget::store::focus::focus_prev()
}

pub fn focus_up() -> Message {
widget::store::focus::focus_up()
}

pub fn focus_down() -> Message {
widget::store::focus::focus_down()
}

/// Set the `Id` stored in this state as the focused one.
pub fn focus(&mut self) {
widget::store::focus::focus(&self.id);
Expand Down

0 comments on commit cb3aa18

Please sign in to comment.