mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-20 16:00:38 +02:00
fix: do not modify elements while erasing (#7531)
This commit is contained in:
@@ -633,12 +633,6 @@ export type PointerDownState = Readonly<{
|
||||
boxSelection: {
|
||||
hasOccurred: boolean;
|
||||
};
|
||||
elementIdsToErase: {
|
||||
[key: ExcalidrawElement["id"]]: {
|
||||
opacity: ExcalidrawElement["opacity"];
|
||||
erase: boolean;
|
||||
};
|
||||
};
|
||||
}>;
|
||||
|
||||
export type UnsubscribeCallback = () => void;
|
||||
@@ -751,3 +745,5 @@ export type Primitive =
|
||||
| undefined;
|
||||
|
||||
export type JSONValue = string | number | boolean | null | object;
|
||||
|
||||
export type ElementsPendingErasure = Set<ExcalidrawElement["id"]>;
|
||||
|
Reference in New Issue
Block a user