Explorar el Código

don't reset dark mode on canvas clear (#2032)

David Luzar hace 5 años
padre
commit
3f2b0fdd0a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/actions/actionCanvas.tsx

+ 1 - 0
src/actions/actionCanvas.tsx

@@ -44,6 +44,7 @@ export const actionClearCanvas = register({
       ),
       appState: {
         ...getDefaultAppState(),
+        appearance: appState.appearance,
         username: appState.username,
       },
       commitToHistory: true,