fixed triggerOnChange

This commit is contained in:
muerwre 2019-03-05 17:29:19 +07:00
parent da77f50a97
commit 74a49ae35d
2 changed files with 2 additions and 3 deletions

View file

@ -55,7 +55,8 @@ export class Poly {
onVertexShow = (): void => this.editor.setMarkersShown(true);
updateMarks = event => {
this.editor.setChanged(true);
// this.editor.setChanged(true);
this.editor.triggerOnChange();
const { latlngs } = event;
this.arrows.setLatLngs(latlngs);