use string as fractional index value

This commit is contained in:
Ryan Di 2023-11-30 19:02:14 +08:00
parent 5c1787bdf4
commit 00ffa08e28
8 changed files with 103 additions and 76 deletions

View file

@ -90,7 +90,7 @@ const _newElementBase = <T extends ExcalidrawElement>(
groupIds = [],
frameId = null,
// TODO: think about this more
fractionalIndex = Infinity,
fractionalIndex = null,
roundness = null,
boundElements = null,
link = null,