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:
@ -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()
|
||||
})
|
||||
|
Reference in New Issue
Block a user