#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,7 +460,9 @@ class TopPanel {
if (undoMgr.getUndoStackSize() > 0) {
undoMgr.undo();
this.editor.layersPanel.populateLayers();
textActions.clear();
if(this.editor.svgCanvas.getMode() === 'textedit') {
textActions.clear();
}
}
}