How could I have gotten this so wrong? (#873)
This commit is contained in:
parent
c6a0cfc2b1
commit
8ecb4201db
@ -13,12 +13,10 @@ const writeData = (
|
||||
updater: () => { elements: ExcalidrawElement[]; appState: AppState } | null,
|
||||
) => {
|
||||
if (
|
||||
[
|
||||
appState.multiElement,
|
||||
appState.resizingElement,
|
||||
appState.editingElement,
|
||||
appState.draggingElement,
|
||||
].some(Boolean)
|
||||
!appState.multiElement &&
|
||||
!appState.resizingElement &&
|
||||
!appState.editingElement &&
|
||||
!appState.draggingElement
|
||||
) {
|
||||
const data = updater();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user