fix shift to end z-index error

This commit is contained in:
Ryan Di
2023-12-06 16:56:55 +08:00
parent 4f218856c3
commit b734f7cba8
16 changed files with 1650 additions and 1176 deletions
@@ -8,6 +8,7 @@ exports[`restoreElements > should restore arrow element correctly 1`] = `
"endArrowhead": null,
"endBinding": null,
"fillStyle": "solid",
"fractionalIndex": null,
"frameId": null,
"groupIds": [],
"height": 100,
@@ -53,6 +54,7 @@ exports[`restoreElements > should restore correctly with rectangle, ellipse and
"backgroundColor": "blue",
"boundElements": [],
"fillStyle": "cross-hatch",
"fractionalIndex": null,
"frameId": null,
"groupIds": [
"1",
@@ -89,6 +91,7 @@ exports[`restoreElements > should restore correctly with rectangle, ellipse and
"backgroundColor": "blue",
"boundElements": [],
"fillStyle": "cross-hatch",
"fractionalIndex": null,
"frameId": null,
"groupIds": [
"1",
@@ -125,6 +128,7 @@ exports[`restoreElements > should restore correctly with rectangle, ellipse and
"backgroundColor": "blue",
"boundElements": [],
"fillStyle": "cross-hatch",
"fractionalIndex": null,
"frameId": null,
"groupIds": [
"1",
@@ -161,6 +165,7 @@ exports[`restoreElements > should restore freedraw element correctly 1`] = `
"backgroundColor": "transparent",
"boundElements": [],
"fillStyle": "solid",
"fractionalIndex": null,
"frameId": null,
"groupIds": [],
"height": 0,
@@ -199,6 +204,7 @@ exports[`restoreElements > should restore line and draw elements correctly 1`] =
"endArrowhead": null,
"endBinding": null,
"fillStyle": "solid",
"fractionalIndex": null,
"frameId": null,
"groupIds": [],
"height": 100,
@@ -246,6 +252,7 @@ exports[`restoreElements > should restore line and draw elements correctly 2`] =
"endArrowhead": null,
"endBinding": null,
"fillStyle": "solid",
"fractionalIndex": null,
"frameId": null,
"groupIds": [],
"height": 100,
@@ -295,6 +302,7 @@ exports[`restoreElements > should restore text element correctly passing value f
"fillStyle": "solid",
"fontFamily": 1,
"fontSize": 14,
"fractionalIndex": null,
"frameId": null,
"groupIds": [],
"height": 100,
@@ -336,6 +344,7 @@ exports[`restoreElements > should restore text element correctly with unknown fo
"fillStyle": "solid",
"fontFamily": 1,
"fontSize": 10,
"fractionalIndex": null,
"frameId": null,
"groupIds": [],
"height": 100,