Fix SpaceBar pan (#1013)
This commit is contained in:
parent
82ce068972
commit
f14aaccc38
@ -636,7 +636,8 @@ export class App extends React.Component<any, AppState> {
|
||||
} 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user