mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-02 03:25:53 +01:00
fix: showing grabbing
cursor when holding spacebar
(#6015)
This commit is contained in:
parent
539505affd
commit
6ab3f0eb74
@ -2120,7 +2120,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||
}
|
||||
if (event.key === KEYS.SPACE && gesture.pointers.size === 0) {
|
||||
isHoldingSpace = true;
|
||||
setCursor(this.canvas, CURSOR_TYPE.GRABBING);
|
||||
setCursor(this.canvas, CURSOR_TYPE.GRAB);
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user