mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-11 03:20:14 +02:00
Introduce Shapelock (#480)
* Introduce shape lock * Format code with prettier * Do not reset elementLocked on selection change * Don't set isSelected to true if element is locked * Don't reset the cursor * Move reset cursor call to better spot * Run prettier + lint
This commit is contained in:

committed by
Christopher Chedeau

parent
2340dddaad
commit
a72a143c84
@@ -9,6 +9,7 @@ export function getDefaultAppState(): AppState {
|
||||
resizingElement: null,
|
||||
editingElement: null,
|
||||
elementType: "selection",
|
||||
elementLocked: false,
|
||||
exportBackground: true,
|
||||
currentItemStrokeColor: "#000000",
|
||||
currentItemBackgroundColor: "transparent",
|
||||
|
Reference in New Issue
Block a user