Browse Source

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

David Luzar 5 năm trước cách đây
mục cha
commit
3f2b0fdd0a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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,