#200 Cursor left on canvas after "undo" on adding text
parent
77eed96e75
commit
c765277297
|
@ -456,10 +456,11 @@ class TopPanel {
|
|||
* @returns {void}
|
||||
*/
|
||||
clickUndo() {
|
||||
const { undoMgr } = this.editor.svgCanvas;
|
||||
const { undoMgr, textActions } = this.editor.svgCanvas;
|
||||
if (undoMgr.getUndoStackSize() > 0) {
|
||||
undoMgr.undo();
|
||||
this.editor.layersPanel.populateLayers();
|
||||
textActions.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue