mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: do not modify elements while erasing (#7531)
This commit is contained in:
parent
3ecf72a507
commit
872973f145
5 changed files with 101 additions and 113 deletions
|
@ -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"]>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue