Skip to content

Improve keyboard accessibility in create_variable_dialog#221

Merged
starnight merged 1 commit intomainfrom
create-variable-keynav
Sep 13, 2024
Merged

Improve keyboard accessibility in create_variable_dialog#221
starnight merged 1 commit intomainfrom
create-variable-keynav

Conversation

@dylanmccall
Copy link
Copy Markdown
Contributor

When the dialog is focused, we need to focus the custom dialog's own controls instead of the dialog's buttons. In addition, set focus_next and focus_previous properties so focus flows between child widgets and the dialog's ok / cancel buttons. The focus loops around within the dialog, as is conventional with other dialogs in the Godot editor.

When the dialog is focused, we need to focus the custom dialog's own
controls instead of the dialog's buttons. In addition, set focus_next
and focus_previous properties so focus flows between child widgets and
the dialog's ok / cancel buttons. The focus loops around within the
dialog, as is conventional with other dialogs in the Godot editor.
Copy link
Copy Markdown
Contributor

@starnight starnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks!

@starnight starnight merged commit df6c8ce into main Sep 13, 2024
@starnight starnight deleted the create-variable-keynav branch September 13, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants