mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-02-18 13:29:36 +01:00
fix: restore linear dimensions from points (#8062)
This commit is contained in:
parent
6ed6131169
commit
4eb9463f26
@ -45,6 +45,7 @@ import {
|
||||
} from "../element/textElement";
|
||||
import { normalizeLink } from "./url";
|
||||
import { syncInvalidIndices } from "../fractionalIndex";
|
||||
import { getSizeFromPoints } from "../points";
|
||||
|
||||
type RestoredAppState = Omit<
|
||||
AppState,
|
||||
@ -270,6 +271,7 @@ const restoreElement = (
|
||||
points,
|
||||
x,
|
||||
y,
|
||||
...getSizeFromPoints(points),
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user