fix(editor): image size and xywh when converting attachment to image (#10200)
In Edgeless, the image size should be read when converting attachment to image: * fix `size` * fix `xywh`
This commit is contained in:
@@ -42,10 +42,10 @@
|
||||
"version": 1,
|
||||
"props": {
|
||||
"sourceId": "ejImogf-Tb7AuKY-v94uz1zuOJbClqK-tWBxVr_ksGA=",
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"width": 460,
|
||||
"height": 345,
|
||||
"index": "a0",
|
||||
"xywh": "[0,0,0,0]",
|
||||
"xywh": "[0,0,460,345]",
|
||||
"lockedBySelf": false,
|
||||
"rotate": 0,
|
||||
"size": 45801,
|
||||
|
||||
Reference in New Issue
Block a user