fractionalIndex as a byproduct or zIndex

This commit is contained in:
Ryan Di
2023-11-29 17:35:59 +08:00
parent c7ee46e7f8
commit 02dc00a47e
7 changed files with 128 additions and 24 deletions
+1
View File
@@ -50,6 +50,7 @@ type _ExcalidrawElementBase = Readonly<{
Used for deterministic reconciliation of updates during collaboration,
in case the versions (see above) are identical. */
versionNonce: number;
fractionalIndex: number;
isDeleted: boolean;
/** List of groups the element belongs to.
Ordered from deepest to shallowest. */