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:
David Luzar 2022-11-15 00:15:02 +01:00 committed by GitHub
parent 3c0b29d85f
commit d273acb7e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 14 deletions

View file

@ -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,
}