is_empty flag

This commit is contained in:
muerwre 2019-02-18 15:44:06 +07:00
parent a180e00ffb
commit 9b6ed74300
8 changed files with 43 additions and 19 deletions

View file

@ -81,7 +81,6 @@ export class Sticker {
this.marker.addEventListener('dragend', this.triggerOnChange);
this.setAngle(this.angle);
this.triggerOnChange();
}
setText = text => {
@ -89,7 +88,6 @@ export class Sticker {
};
onDelete = () => {
this.triggerOnChange();
if (!this.isDragging) this.deleteSticker(this);
};