mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 15:00:39 +02:00
merge branch 'fractional-indexing' of github.com:excalidraw/excalidraw into fractional-indexing
This commit is contained in:
@@ -328,9 +328,7 @@ class Scene {
|
||||
if (element.frameId) {
|
||||
this.insertElementAtIndex(element, this.getElementIndex(element.frameId));
|
||||
} else {
|
||||
this.replaceAllElements(
|
||||
normalizeFractionalIndicies([...this.elements, element]),
|
||||
);
|
||||
this.replaceAllElements([...this.elements, element]);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user