mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: restore original opacities when alt pressed while erasing (#4954)
This commit is contained in:
parent
8e447b4c32
commit
cded1cd63d
3 changed files with 37 additions and 12 deletions
|
@ -384,7 +384,12 @@ export type PointerDownState = Readonly<{
|
|||
boxSelection: {
|
||||
hasOccurred: boolean;
|
||||
};
|
||||
elementIdsToErase: { [key: ExcalidrawElement["id"]]: boolean };
|
||||
elementIdsToErase: {
|
||||
[key: ExcalidrawElement["id"]]: {
|
||||
opacity: ExcalidrawElement["opacity"];
|
||||
erase: boolean;
|
||||
};
|
||||
};
|
||||
}>;
|
||||
|
||||
export type ExcalidrawImperativeAPI = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue