mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: duplicating/removing frame while children selected (#9079)
This commit is contained in:
parent
302664e500
commit
424e94a403
21 changed files with 3160 additions and 2065 deletions
|
@ -2517,7 +2517,7 @@ exports[`contextMenu element > selecting 'Duplicate' in context menu duplicates
|
|||
"scrolledOutside": false,
|
||||
"searchMatches": [],
|
||||
"selectedElementIds": {
|
||||
"id0_copy": true,
|
||||
"id1": true,
|
||||
},
|
||||
"selectedElementsAreBeingDragged": false,
|
||||
"selectedGroupIds": {},
|
||||
|
@ -2590,7 +2590,7 @@ exports[`contextMenu element > selecting 'Duplicate' in context menu duplicates
|
|||
"frameId": null,
|
||||
"groupIds": [],
|
||||
"height": 20,
|
||||
"id": "id0_copy",
|
||||
"id": "id1",
|
||||
"index": "a1",
|
||||
"isDeleted": false,
|
||||
"link": null,
|
||||
|
@ -2680,7 +2680,7 @@ History {
|
|||
"delta": Delta {
|
||||
"deleted": {
|
||||
"selectedElementIds": {
|
||||
"id0_copy": true,
|
||||
"id1": true,
|
||||
},
|
||||
},
|
||||
"inserted": {
|
||||
|
@ -2693,7 +2693,7 @@ History {
|
|||
"elementsChange": ElementsChange {
|
||||
"added": Map {},
|
||||
"removed": Map {
|
||||
"id0_copy" => Delta {
|
||||
"id1" => Delta {
|
||||
"deleted": {
|
||||
"angle": 0,
|
||||
"backgroundColor": "transparent",
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -10,7 +10,7 @@ exports[`duplicate element on move when ALT is clicked > rectangle 5`] = `
|
|||
"frameId": null,
|
||||
"groupIds": [],
|
||||
"height": 50,
|
||||
"id": "id0_copy",
|
||||
"id": "id2",
|
||||
"index": "a0",
|
||||
"isDeleted": false,
|
||||
"link": null,
|
||||
|
|
|
@ -2129,7 +2129,7 @@ History {
|
|||
"elementsChange": ElementsChange {
|
||||
"added": Map {},
|
||||
"removed": Map {
|
||||
"id0_copy" => Delta {
|
||||
"id2" => Delta {
|
||||
"deleted": {
|
||||
"angle": 0,
|
||||
"backgroundColor": "transparent",
|
||||
|
@ -10619,7 +10619,7 @@ History {
|
|||
"elementsChange": ElementsChange {
|
||||
"added": Map {},
|
||||
"removed": Map {
|
||||
"id0_copy" => Delta {
|
||||
"id6" => Delta {
|
||||
"deleted": {
|
||||
"angle": 0,
|
||||
"backgroundColor": "transparent",
|
||||
|
@ -10628,7 +10628,7 @@ History {
|
|||
"fillStyle": "solid",
|
||||
"frameId": null,
|
||||
"groupIds": [
|
||||
"id4_copy",
|
||||
"id7",
|
||||
],
|
||||
"height": 10,
|
||||
"index": "a0",
|
||||
|
@ -10652,7 +10652,7 @@ History {
|
|||
"isDeleted": true,
|
||||
},
|
||||
},
|
||||
"id1_copy" => Delta {
|
||||
"id8" => Delta {
|
||||
"deleted": {
|
||||
"angle": 0,
|
||||
"backgroundColor": "transparent",
|
||||
|
@ -10661,7 +10661,7 @@ History {
|
|||
"fillStyle": "solid",
|
||||
"frameId": null,
|
||||
"groupIds": [
|
||||
"id4_copy",
|
||||
"id7",
|
||||
],
|
||||
"height": 10,
|
||||
"index": "a1",
|
||||
|
@ -10685,7 +10685,7 @@ History {
|
|||
"isDeleted": true,
|
||||
},
|
||||
},
|
||||
"id2_copy" => Delta {
|
||||
"id9" => Delta {
|
||||
"deleted": {
|
||||
"angle": 0,
|
||||
"backgroundColor": "transparent",
|
||||
|
@ -10694,7 +10694,7 @@ History {
|
|||
"fillStyle": "solid",
|
||||
"frameId": null,
|
||||
"groupIds": [
|
||||
"id4_copy",
|
||||
"id7",
|
||||
],
|
||||
"height": 10,
|
||||
"index": "a2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue