mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-22 00:41:09 +02:00
Merge remote-tracking branch 'origin/master' into danieljgeiger-mathjax
This commit is contained in:
@@ -56,6 +56,7 @@ export const AllowedExcalidrawActiveTools: Record<
|
||||
freedraw: true,
|
||||
eraser: false,
|
||||
custom: true,
|
||||
hand: true,
|
||||
};
|
||||
|
||||
export type RestoredDataState = {
|
||||
@@ -476,7 +477,7 @@ export const restoreAppState = (
|
||||
? nextAppState.activeTool
|
||||
: { type: "selection" },
|
||||
),
|
||||
lastActiveToolBeforeEraser: null,
|
||||
lastActiveTool: null,
|
||||
locked: nextAppState.activeTool.locked ?? false,
|
||||
},
|
||||
// Migrates from previous version where appState.zoom was a number
|
||||
|
Reference in New Issue
Block a user