mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
indices with jitter
This commit is contained in:
parent
b734f7cba8
commit
bf53d90c68
5 changed files with 99 additions and 53 deletions
|
@ -43,7 +43,7 @@ import {
|
|||
measureBaseline,
|
||||
} from "../element/textElement";
|
||||
import { normalizeLink } from "./url";
|
||||
import { normalizeFractionalIndicies } from "../fractionalIndex";
|
||||
import { restoreFractionalIndicies } from "../fractionalIndex";
|
||||
|
||||
type RestoredAppState = Omit<
|
||||
AppState,
|
||||
|
@ -461,7 +461,7 @@ export const restoreElements = (
|
|||
}
|
||||
}
|
||||
|
||||
return normalizeFractionalIndicies(restoredElements) as ExcalidrawElement[];
|
||||
return restoreFractionalIndicies(restoredElements) as ExcalidrawElement[];
|
||||
};
|
||||
|
||||
const coalesceAppStateValue = <
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue