mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: refresh text dimensions only after font load done (#5878)
* fix: refresh text dimensions only after font load done * fix snaps
This commit is contained in:
parent
3c0b29d85f
commit
d273acb7e4
4 changed files with 24 additions and 14 deletions
|
@ -275,7 +275,7 @@ Object {
|
|||
"fontFamily": 1,
|
||||
"fontSize": 14,
|
||||
"groupIds": Array [],
|
||||
"height": 0,
|
||||
"height": 100,
|
||||
"id": "id-text01",
|
||||
"isDeleted": false,
|
||||
"link": null,
|
||||
|
@ -295,7 +295,7 @@ Object {
|
|||
"version": 1,
|
||||
"versionNonce": 0,
|
||||
"verticalAlign": "middle",
|
||||
"width": 1,
|
||||
"width": 100,
|
||||
"x": -0.5,
|
||||
"y": 0,
|
||||
}
|
||||
|
@ -312,7 +312,7 @@ Object {
|
|||
"fontFamily": 1,
|
||||
"fontSize": 10,
|
||||
"groupIds": Array [],
|
||||
"height": 0,
|
||||
"height": 100,
|
||||
"id": "id-text01",
|
||||
"isDeleted": false,
|
||||
"link": null,
|
||||
|
@ -332,7 +332,7 @@ Object {
|
|||
"version": 1,
|
||||
"versionNonce": 0,
|
||||
"verticalAlign": "top",
|
||||
"width": 1,
|
||||
"width": 100,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue