Fix bug of issue #2062 (#2108)

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
João Forja 2020-08-30 12:10:07 +01:00 committed by GitHub
parent 46bff3dace
commit 0ab58b38e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 84 additions and 17 deletions

View file

@ -4593,7 +4593,29 @@ Object {
"cursorButton": "up",
"cursorX": 0,
"cursorY": 0,
"draggingElement": null,
"draggingElement": Object {
"angle": 0,
"backgroundColor": "transparent",
"boundElementIds": null,
"fillStyle": "hachure",
"groupIds": Array [],
"height": 0,
"id": "id3",
"isDeleted": false,
"opacity": 100,
"roughness": 1,
"seed": 2019559783,
"strokeColor": "#000000",
"strokeSharpness": "sharp",
"strokeStyle": "solid",
"strokeWidth": 1,
"type": "selection",
"version": 1,
"versionNonce": 0,
"width": 0,
"x": 50,
"y": 50,
},
"editingElement": null,
"editingGroupId": null,
"editingLinearElement": null,
@ -4624,9 +4646,7 @@ Object {
"scrollX": 0,
"scrollY": 0,
"scrolledOutside": false,
"selectedElementIds": Object {
"id3": true,
},
"selectedElementIds": Object {},
"selectedGroupIds": Object {},
"selectionElement": null,
"shouldAddWatermark": false,
@ -5038,7 +5058,29 @@ Object {
"cursorButton": "up",
"cursorX": 0,
"cursorY": 0,
"draggingElement": null,
"draggingElement": Object {
"angle": 0,
"backgroundColor": "transparent",
"boundElementIds": null,
"fillStyle": "hachure",
"groupIds": Array [],
"height": 0,
"id": "id1",
"isDeleted": false,
"opacity": 100,
"roughness": 1,
"seed": 449462985,
"strokeColor": "#000000",
"strokeSharpness": "sharp",
"strokeStyle": "solid",
"strokeWidth": 1,
"type": "selection",
"version": 1,
"versionNonce": 0,
"width": 0,
"x": 100,
"y": 100,
},
"editingElement": null,
"editingGroupId": null,
"editingLinearElement": null,
@ -5067,9 +5109,7 @@ Object {
"scrollX": 0,
"scrollY": 0,
"scrolledOutside": false,
"selectedElementIds": Object {
"id1": true,
},
"selectedElementIds": Object {},
"selectedGroupIds": Object {},
"selectionElement": null,
"shouldAddWatermark": false,