Fix : call selectedChanged notification with empty selected elems array when clearSelectionMethod is called
This commit is contained in:
@@ -51,7 +51,7 @@ export const clearSelectionMethod = function (noCall) {
|
||||
svgCanvas.setEmptySelectedElements();
|
||||
|
||||
if (!noCall) {
|
||||
svgCanvas.call("selected", selectedElements);
|
||||
svgCanvas.call("selected", selectionContext_.getSelectedElements());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user