mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: restore text dimensions (#5432)
* fix: restore text dimensions * fix tests * update readme & changelog * reduce API surface area by always refreshing dimensions for full `restore()`
This commit is contained in:
parent
36bf17cf59
commit
c8f6e3faa8
7 changed files with 51 additions and 21 deletions
|
@ -275,7 +275,7 @@ Object {
|
|||
"fontFamily": 1,
|
||||
"fontSize": 14,
|
||||
"groupIds": Array [],
|
||||
"height": 100,
|
||||
"height": 0,
|
||||
"id": "id-text01",
|
||||
"isDeleted": false,
|
||||
"link": null,
|
||||
|
@ -295,7 +295,7 @@ Object {
|
|||
"version": 1,
|
||||
"versionNonce": 0,
|
||||
"verticalAlign": "middle",
|
||||
"width": 100,
|
||||
"width": 1,
|
||||
"x": -0.5,
|
||||
"y": 0,
|
||||
}
|
||||
|
@ -312,7 +312,7 @@ Object {
|
|||
"fontFamily": 1,
|
||||
"fontSize": 10,
|
||||
"groupIds": Array [],
|
||||
"height": 100,
|
||||
"height": 0,
|
||||
"id": "id-text01",
|
||||
"isDeleted": false,
|
||||
"link": null,
|
||||
|
@ -332,7 +332,7 @@ Object {
|
|||
"version": 1,
|
||||
"versionNonce": 0,
|
||||
"verticalAlign": "top",
|
||||
"width": 100,
|
||||
"width": 1,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue