Fix : call selectedChanged notification with empty selected elems array when clearSelectionMethod is called

master
Cédric Godefroy 2021-12-06 15:31:41 +01:00
parent a529258774
commit 26c45f6d4d
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export const clearSelectionMethod = function (noCall) {
svgCanvas.setEmptySelectedElements();
if (!noCall) {
svgCanvas.call("selected", selectedElements);
svgCanvas.call("selected", selectionContext_.getSelectedElements());
}
};