From 6ab3f0eb74a4968189a774aa57a47be1dab128df Mon Sep 17 00:00:00 2001 From: David Luzar Date: Tue, 20 Dec 2022 13:22:20 +0100 Subject: [PATCH] fix: showing `grabbing` cursor when holding `spacebar` (#6015) --- src/components/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 347bb6fe91..edefacb01b 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -2120,7 +2120,7 @@ class App extends React.Component { } 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(); }