use string as fractional index value
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ const elementBase: Omit<ExcalidrawElement, "type"> = {
|
||||
groupIds: [],
|
||||
frameId: null,
|
||||
roundness: null,
|
||||
fractionalIndex: Infinity,
|
||||
fractionalIndex: "",
|
||||
seed: 1041657908,
|
||||
version: 120,
|
||||
versionNonce: 1188004276,
|
||||
|
||||
@@ -168,7 +168,7 @@ export class API {
|
||||
x,
|
||||
y,
|
||||
frameId: rest.frameId ?? null,
|
||||
fractionalIndex: rest.fractionalIndex ?? Infinity,
|
||||
fractionalIndex: rest.fractionalIndex ?? null,
|
||||
angle: rest.angle ?? 0,
|
||||
strokeColor: rest.strokeColor ?? appState.currentItemStrokeColor,
|
||||
backgroundColor:
|
||||
|
||||
Reference in New Issue
Block a user