redux: trashing fixed

This commit is contained in:
muerwre 2018-11-26 16:05:43 +07:00
parent eb5b0e5d28
commit 2171a50ef1
7 changed files with 109 additions and 70 deletions

View file

@ -180,11 +180,6 @@ export class Editor {
this.poly.pushPoints(latlngs);
};
// setSticker = sticker => {
// this.activeSticker = sticker;
// this.setActiveSticker(sticker);
// };
clearSticker = () => {
if (this.activeSticker) {
this.setActiveSticker(null);