fixed changed

This commit is contained in:
muerwre 2019-02-20 14:13:28 +07:00
parent 073ef2b16a
commit cb73e43b02

View file

@ -154,7 +154,7 @@ export class Editor {
triggerOnChange = () => { triggerOnChange = () => {
if (this.isEmpty !== this.getIsEmpty()) this.setIsEmpty(this.isEmpty); if (this.isEmpty !== this.getIsEmpty()) this.setIsEmpty(this.isEmpty);
if (this.getEditing() && this.getChanged()) this.setChanged(true); if (this.getEditing() && !this.getChanged()) this.setChanged(true);
}; };
createStickerOnClick = (e) => { createStickerOnClick = (e) => {