From ea688c363bca11be03f7f048a9f5493173d6559d Mon Sep 17 00:00:00 2001
From: muerwre <gotham48@gmail.com>
Date: Thu, 28 Mar 2019 12:09:09 +0700
Subject: [PATCH] short cleanup

---
 src/index.tsx           |  2 +-
 src/modules/Editor.ts   |  2 --
 src/modules/Stickers.ts | 10 ----------
 3 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/index.tsx b/src/index.tsx
index 10a0f87..82c2ccf 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -7,7 +7,7 @@
   todo tower sticker
   todo route description
 
-  todo polyline editing only in manual mode (or by click)
+  skip polyline editing only in manual mode (or by click)
   todo selecting logo on crop
 
   todo network operations notify
diff --git a/src/modules/Editor.ts b/src/modules/Editor.ts
index 02a1165..16fab94 100644
--- a/src/modules/Editor.ts
+++ b/src/modules/Editor.ts
@@ -371,8 +371,6 @@ export class Editor {
     this.setInitialData();
     this.owner = { id };
 
-    // todo: implement
-    // if (this.poly.latlngs && this.poly.latlngs.length > 1) this.poly.poly.editor.enable();
     this.poly.enableEditor();
     this.stickers.startEditing();
   };
diff --git a/src/modules/Stickers.ts b/src/modules/Stickers.ts
index 6989352..907344e 100644
--- a/src/modules/Stickers.ts
+++ b/src/modules/Stickers.ts
@@ -81,16 +81,6 @@ export class Stickers {
 
   dumpData = (): Array<IStickerDump> => this.stickers.map(sticker => sticker.dumpData());
 
-  // onSpiderify = (): void => {
-  //   console.log('spider?');
-  //   // todo: it has markers passed as argument. Update only them.
-  //   if (this.editor.getEditing()) {
-  //     this.startEditing();
-  //   } else {
-  //     this.stopEditing();
-  //   }
-  // };
-
   startEditing = (): void => {
     this.stickers.map(sticker => sticker.startEditing());
   };