Skip to content

Commit

Permalink
Update docs/guide/widgets.md
Browse files Browse the repository at this point in the history
Co-authored-by: Will McGugan <[email protected]>
  • Loading branch information
darrenburns and willmcgugan authored Sep 30, 2024
1 parent f03f038 commit e12bbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ See the [style reference](../styles/index.md) for details.
Widgets can have a list of associated key [bindings](../guide/input.md#bindings),
which let them call [actions](../guide/actions.md) in response to key presses.

A widget is only able to handle key presses if it or one of its descendants has [focus](../guide/input.md#input-focus).
A widget is able to handle key presses if it or one of its descendants has [focus](../guide/input.md#input-focus).

To demonstrate, let's design a simple interactive counter widget which can be incremented and decremented using the keyboard.

Expand Down

0 comments on commit e12bbd6

Please sign in to comment.