Repository navigation
Keyboard Shortcuts: OK button in view, Enter is OK, visible scroll bar handles - #1113
Merged
h-a-n-a-s-h-i merged 3 commits intoOct 13, 2026
Conversation
The editor's content was a little taller than its dialog, so the outer scroll area clipped the OK button and its scrollbar covered the right edge. The dialog now has no outer scroll area: the command list takes whatever height is left, so the button row always fits, in small windows too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Enter closes the editor like its OK button, also while the search field has focus. It stays with the shortcut recorder (Enter can be recorded), the preset rename field and an open preset menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The handle was filled with the colour of its own track (both the field background), so it only showed while hovered or dragged. It now takes the text colour, in every scroll area. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
h-a-n-a-s-h-i
pushed a commit
that referenced
this pull request
Oct 13, 2026
…ands together - Keyboard Shortcuts: Enter is not Delete while the delete confirmation is open (#1113 with #1019). - Speed graph drag test compares proportions, since the Graph Editor now fits its selection (#1182 with #1109). - Spanish panel test no longer demands the Chinese catalogs' exact rows (#996 with #1189, #1019). - Object Matte gets its Simplified Chinese effect-name row (#1199 with #792). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
Merged. Thank you for the contribution, @pravdomil! It landed on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three fixes that came out of using Edit ▸ Keyboard Shortcuts, one commit each.
OK button in view
The editor's content was slightly taller than the dialog, so the dialog's outer scroll area cut the OK button in half and its scrollbar covered the right edge.
The editor no longer sits in an outer scroll area (
modal_fitinstead ofmodal). The command list and the selected-command editor take whatever height is left under the keyboard, so the OK row always fits, also in a small window. The dialog is 40 px taller when the window has room.Enter is OK
Enter closes the editor like its OK button, also while the search field has focus. It stays with the shortcut recorder (Enter can be recorded), the preset rename field and an open preset menu.
Visible scroll bar handles (app-wide)
The scroll bar handle was filled with the colour of its own track (both the field background), so it only showed while hovered or dragged. It now takes the text colour (
ScrollStyle::foreground_color). This is a theme change, so it applies to every scroll area, not only the command list.Testing
the_ok_button_stays_inside_the_dialog_in_a_small_window,enter_is_ok_except_while_recording_or_renaming.cargo fmt,cargo clippy -D warningsand the full test suite ofeffectcraft-ui-egui. The fullcargo xtask ciwas not run and the commits carry[skip ci], as requested.🤖 Generated with Claude Code