fix: incorrectly duplicating items on paste/library insert (#6467
* fix: incorrectly duplicating items on paste/library insert * fix: deduplicate element ids on restore * tests
This commit is contained in:
@@ -13431,7 +13431,7 @@ Object {
|
||||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id0_copy",
|
||||
@@ -13464,7 +13464,7 @@ Object {
|
||||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id1_copy",
|
||||
@@ -13497,7 +13497,7 @@ Object {
|
||||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id2_copy",
|
||||
@@ -13981,7 +13981,7 @@ Object {
|
||||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id0_copy",
|
||||
@@ -14011,7 +14011,7 @@ Object {
|
||||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id1_copy",
|
||||
@@ -14041,7 +14041,7 @@ Object {
|
||||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id2_copy",
|
||||
|
||||
Reference in New Issue
Block a user