mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-14 21:10:37 +02:00
chore: Minor refactoring for consistency (#2425)
This commit is contained in:
@@ -127,8 +127,8 @@ export const getNewGroupIdsForDuplication = (
|
||||
: -1;
|
||||
const endIndex =
|
||||
positionOfEditingGroupId > -1 ? positionOfEditingGroupId : groupIds.length;
|
||||
for (let i = 0; i < endIndex; i++) {
|
||||
copy[i] = mapper(copy[i]);
|
||||
for (let index = 0; index < endIndex; index++) {
|
||||
copy[index] = mapper(copy[index]);
|
||||
}
|
||||
|
||||
return copy;
|
||||
|
Reference in New Issue
Block a user