Merge pull request #676 from SVG-Edit/correct-selectedChanged-notification

Fix : call selectedChanged notification with empty selected elems arr…
master
JFH 2021-12-11 13:54:33 +01:00 committed by GitHub
commit 18f08bcc02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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