mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: update cursorButton once freedraw is released (#4996)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
9ba7ca3845
commit
880e4feede
4 changed files with 9 additions and 12 deletions
|
@ -252,6 +252,7 @@ export const restoreAppState = (
|
|||
}
|
||||
return {
|
||||
...nextAppState,
|
||||
cursorButton: localAppState?.cursorButton || "up",
|
||||
// reset on fresh restore so as to hide the UI button if penMode not active
|
||||
penDetected:
|
||||
localAppState?.penDetected ??
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue