#200 current mode check on textedit

master
agriyadev5 2021-06-08 13:22:24 +05:30
parent c765277297
commit a600a13fe0
1 changed files with 3 additions and 1 deletions

View File

@ -460,9 +460,11 @@ class TopPanel {
if (undoMgr.getUndoStackSize() > 0) { if (undoMgr.getUndoStackSize() > 0) {
undoMgr.undo(); undoMgr.undo();
this.editor.layersPanel.populateLayers(); this.editor.layersPanel.populateLayers();
if(this.editor.svgCanvas.getMode() === 'textedit') {
textActions.clear(); textActions.clear();
} }
} }
}
/** /**
* *