mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-25 02:10:38 +02:00
refactor: decoupling global Scene state part-1 (#7577)
This commit is contained in:
@@ -105,11 +105,7 @@ export const actionGroup = register({
|
||||
const frameElementsMap = groupByFrameLikes(selectedElements);
|
||||
|
||||
frameElementsMap.forEach((elementsInFrame, frameId) => {
|
||||
nextElements = removeElementsFromFrame(
|
||||
nextElements,
|
||||
elementsInFrame,
|
||||
appState,
|
||||
);
|
||||
removeElementsFromFrame(elementsInFrame);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -229,7 +225,6 @@ export const actionUngroup = register({
|
||||
nextElements,
|
||||
getElementsInResizingFrame(nextElements, frame, appState),
|
||||
frame,
|
||||
appState,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user