mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-04 11:34:44 +01:00
fix shift to end z-index error
This commit is contained in:
@@ -379,9 +379,7 @@ const shiftElementsToEnd = (
|
||||
}
|
||||
}
|
||||
|
||||
const targetElements = Object.values(targetElementsMap).map((element) => {
|
||||
return bumpVersion(element);
|
||||
});
|
||||
const targetElements = Array.from(targetElementsMap.values());
|
||||
|
||||
const leadingElements = elements.slice(0, leadingIndex);
|
||||
const trailingElements = elements.slice(trailingIndex + 1);
|
||||
|
||||
Reference in New Issue
Block a user