mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
refactor code
This commit is contained in:
parent
a7154227cf
commit
d1a9c593cc
5 changed files with 128 additions and 125 deletions
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue