diff --git a/src/svgcanvas/selection.js b/src/svgcanvas/selection.js index 87d7a088..b19901ee 100644 --- a/src/svgcanvas/selection.js +++ b/src/svgcanvas/selection.js @@ -51,7 +51,7 @@ export const clearSelectionMethod = function (noCall) { svgCanvas.setEmptySelectedElements(); if (!noCall) { - svgCanvas.call("selected", selectedElements); + svgCanvas.call("selected", selectionContext_.getSelectedElements()); } };