Enable hotkeys for toolbar items within dropdowns (#6765)

* Remove gnarly fake union hotkeys

* Enable hotkey for items buried in ActionButtonDropdown

I'm kinda over `useHotkeys` as a hook

* Add hotkeys for other sketch tools

* Fix lint and tsc

* Fix duplicate locator

* The circular dependecies got reordered somehow

* Update src/lib/toolbar.ts
This commit is contained in:
Frank Noirot
2025-05-09 18:56:11 -04:00
committed by GitHub
parent 2d9f6c7b2a
commit 3e24e2c9e8
6 changed files with 112 additions and 71 deletions

View File

@ -1445,7 +1445,7 @@ part001 = startSketchOn(XZ)
await page.getByTestId('overlay-menu').click()
await page.waitForTimeout(100)
await page.getByText('Remove constraints').click()
await page.getByRole('button', { name: 'Remove constraints' }).click()
await editor.expectEditor.toContain(after, { shouldNormalise: true })