mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
icons and toolbars
This commit is contained in:
parent
2375bc3f57
commit
13c5ae08d9
4 changed files with 25 additions and 16 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue