Add keyboard shortcuts for sketch and modeling tools (#2419)

* Add keyboard shortcuts for sketch and modeling tools

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)

* Add a playwright test

* skip linux

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fmt fml

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* Give more generous test timeout for worst case engine runs

* Fix up test mouse clicks after zoom bug fixes

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Frank Noirot
2024-05-22 11:07:02 -04:00
committed by GitHub
parent 48ef0885b7
commit 0384e5e6c6
6 changed files with 205 additions and 3 deletions

View File

@ -58,9 +58,8 @@ export function App() {
const {
app: { onboardingStatus },
} = settings.context
const { state, send } = useModelingContext()
const { state } = useModelingContext()
useHotkeys('esc', () => send('Cancel'))
useHotkeys('backspace', (e) => {
e.preventDefault()
})