#200 current mode check on textedit
This commit is contained in:
@@ -460,7 +460,9 @@ class TopPanel {
|
|||||||
if (undoMgr.getUndoStackSize() > 0) {
|
if (undoMgr.getUndoStackSize() > 0) {
|
||||||
undoMgr.undo();
|
undoMgr.undo();
|
||||||
this.editor.layersPanel.populateLayers();
|
this.editor.layersPanel.populateLayers();
|
||||||
textActions.clear();
|
if(this.editor.svgCanvas.getMode() === 'textedit') {
|
||||||
|
textActions.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user