#200 current mode check on textedit
parent
c765277297
commit
a600a13fe0
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue