done clear routing on editing cancellation

This commit is contained in:
muerwre 2019-02-07 11:54:08 +07:00
parent 6126951d34
commit 6f635c9840
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,6 @@
## BUGS ## BUGS
todo fix arrows (can't reproduce now :-( ) todo fix arrows (can't reproduce now :-( )
todo clear routing on editing cancellation
todo cancelling editing someone's else map return back to it's original address /razminochnyj/ todo cancelling editing someone's else map return back to it's original address /razminochnyj/
todo selecting logo on crop todo selecting logo on crop
todo delete sticker icon todo delete sticker icon
@ -37,6 +36,7 @@
## DONE ## DONE
done clear routing on editing cancellation
done riding speed slider done riding speed slider
done dont close map list on click done dont close map list on click
done fix loaded stickers has wrong text placement for right-sided captions done fix loaded stickers has wrong text placement for right-sided captions

View file

@ -294,6 +294,7 @@ export class Editor {
stopEditing = () => { stopEditing = () => {
this.poly.poly.editor.disable(); this.poly.poly.editor.disable();
this.stickers.stopEditing(); this.stickers.stopEditing();
this.router.clearAll();
}; };
cancelEditing = () => { cancelEditing = () => {