icons and toolbars

This commit is contained in:
muerwre 2018-09-03 15:09:38 +07:00
parent 2375bc3f57
commit 13c5ae08d9
4 changed files with 25 additions and 16 deletions

View file

@ -200,7 +200,8 @@ export class Editor {
const { path } = getUrlData();
pushPath(`/${path}/edit`);
this.poly.poly.enableEdit();
if (this.poly.latlngs && this.poly.latlngs.length > 1) this.poly.poly.enableEdit();
this.stickers.startEditing();
this.setEditing(true);
};