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