mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 06:50:31 +02:00
refactor code
This commit is contained in:
@@ -18,7 +18,6 @@ import throttle from "lodash.throttle";
|
||||
import { newElementWith } from "../../src/element/mutateElement";
|
||||
import { BroadcastedExcalidrawElement } from "./reconciliation";
|
||||
import { encryptData } from "../../src/data/encryption";
|
||||
import { normalizeFractionalIndexing } from "../../src/zindex";
|
||||
|
||||
class Portal {
|
||||
collab: TCollabClass;
|
||||
@@ -160,7 +159,7 @@ class Portal {
|
||||
const data: SocketUpdateDataSource[typeof updateType] = {
|
||||
type: updateType,
|
||||
payload: {
|
||||
elements: normalizeFractionalIndexing(syncableElements),
|
||||
elements: syncableElements,
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user