mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
use commitToHistory prop for handling draw history (#1595)
This commit is contained in:
parent
d9b8dcfbb4
commit
828c9c4d65
2 changed files with 1 additions and 2 deletions
|
@ -89,7 +89,7 @@ export const actionFinalize = register({
|
|||
}
|
||||
: appState.selectedElementIds,
|
||||
},
|
||||
commitToHistory: false,
|
||||
commitToHistory: appState.elementType === "draw",
|
||||
};
|
||||
},
|
||||
keyTest: (event, appState) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue