added changeMode on stopEditing

This commit is contained in:
muerwre 2018-09-03 10:33:51 +07:00
parent 5c892c7961
commit 9e53969d53
3 changed files with 7 additions and 4 deletions

View file

@ -209,6 +209,7 @@ export class Editor {
const { path } = getUrlData();
pushPath(`/${path}`);
this.changeMode(MODES.NONE);
this.poly.poly.disableEdit();
this.stickers.stopEditing();
this.setEditing(false);