Skip to content

Fix hotkeys for toolbar items that are first in dropdown#10959

Open
franknoirot wants to merge 1 commit intomainfrom
franknoirot/adhoc/fix-toolbar-dropdown-hotkeys
Open

Fix hotkeys for toolbar items that are first in dropdown#10959
franknoirot wants to merge 1 commit intomainfrom
franknoirot/adhoc/fix-toolbar-dropdown-hotkeys

Conversation

@franknoirot
Copy link
Copy Markdown
Contributor

Codex-assisted. I suspected that Arc and Rectangle hotkeys weren't working because of a duplicate hotkey listener, one for the button and one for the dropdown menu entry. This fixes that by removing a duplicate hotkey registration in the dropdown items, centralizing toolbar hotkey registration. Adds some integration tests. Test by hitting A in sketch mode and having it actually work.

Codex-assisted. I suspected that Arc and Rectangle hotkeys weren't
working because of a duplicate hotkey listener, one for the button and
one for the dropdown menu entry. This fixes that by removing a duplicate
hotkey registration in the dropdown items, centralizing toolbar hotkey
registration. Adds some integration tests. Test by hitting <kbd>A</kbd>
in sketch mode and having it actually work.
@franknoirot franknoirot requested a review from a team as a code owner April 10, 2026 04:43
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
modeling-app Ready Ready Preview, Comment Apr 10, 2026 4:58am

Request Review

Copy link
Copy Markdown
Contributor

@andrewvarga andrewvarga left a comment

Choose a reason for hiding this comment

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

Works well!

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