don't reset specific appState props on canvas clear (#2359)
Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
f90cbeb089
commit
dad9ad9bf4
@ -47,6 +47,11 @@ export const actionClearCanvas = register({
|
|||||||
appState: {
|
appState: {
|
||||||
...getDefaultAppState(),
|
...getDefaultAppState(),
|
||||||
appearance: appState.appearance,
|
appearance: appState.appearance,
|
||||||
|
elementLocked: appState.elementLocked,
|
||||||
|
exportBackground: appState.exportBackground,
|
||||||
|
exportEmbedScene: appState.exportEmbedScene,
|
||||||
|
gridSize: appState.gridSize,
|
||||||
|
shouldAddWatermark: appState.shouldAddWatermark,
|
||||||
username: appState.username,
|
username: appState.username,
|
||||||
},
|
},
|
||||||
commitToHistory: true,
|
commitToHistory: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user