diff --git a/src/components/App.tsx b/src/components/App.tsx index 606f0b67..228d0afe 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -636,7 +636,8 @@ export class App extends React.Component { } else if (event.key === "q") { this.toggleLock(); } - } else if (event.key === KEYS.SPACE && gesture.pointers.size === 0) { + } + if (event.key === KEYS.SPACE && gesture.pointers.size === 0) { isHoldingSpace = true; document.documentElement.style.cursor = CURSOR_TYPE.GRABBING; }