diff --git a/src/components/panels/EditorPanel.jsx b/src/components/panels/EditorPanel.jsx
index aa173b0..e84b9a7 100644
--- a/src/components/panels/EditorPanel.jsx
+++ b/src/components/panels/EditorPanel.jsx
@@ -128,7 +128,7 @@ export class EditorPanel extends React.PureComponent {
diff --git a/src/modules/Editor.js b/src/modules/Editor.js
index 11e1694..f386c48 100644
--- a/src/modules/Editor.js
+++ b/src/modules/Editor.js
@@ -7,6 +7,7 @@ import { Shotter } from '$modules/Shotter';
import { DEFAULT_LOGO } from '$constants/logos';
import { parseStickerAngle, parseStickerStyle } from '$utils/import';
+import { getUrlData, pushPath } from '$utils/history';
export class Editor {
constructor({
@@ -196,12 +197,18 @@ export class Editor {
};
startEditing = () => {
+ const { path } = getUrlData();
+ pushPath(`/${path}/edit`);
+
this.poly.poly.enableEdit();
this.stickers.startEditing();
this.setEditing(true);
};
stopEditing = () => {
+ const { path } = getUrlData();
+ pushPath(`/${path}`);
+
this.poly.poly.disableEdit();
this.stickers.stopEditing();
this.setEditing(false);
diff --git a/src/sprites/icons_draft.svg b/src/sprites/icons_draft.svg
index cfa3fd2..c16280c 100644
--- a/src/sprites/icons_draft.svg
+++ b/src/sprites/icons_draft.svg
@@ -58,7 +58,8 @@
transform="translate(0,-288.53332)" />
+ transform="translate(-64)"
+ style="">
+ transform="translate(-32)"
+ style="">
+ transform="translate(-96)"
+ style="">
+ transform="translate(-128)"
+ style="">
+ transform="translate(-160)"
+ style="">
+ id="g5817"
+ style="">
@@ -441,7 +447,8 @@
+ transform="translate(-224)"
+ style="">
+ id="g6048"
+ style="">