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