master
JFH 2020-06-19 09:14:03 +02:00
parent 0f22dd2baa
commit 102541b7f4
1 changed files with 2 additions and 4 deletions

View File

@ -692,10 +692,8 @@ const addToSelection = this.addToSelection = function (elemsToAdd, showGrips) {
}
call('selected', selectedElements);
if (showGrips || selectedElements.length === 1) {
selectorManager.requestSelector(selectedElements[0]).showGrips(true);
} else {
selectorManager.requestSelector(selectedElements[0]).showGrips(false);
if (selectedElements.length === 1) {
selectorManager.requestSelector(selectedElements[0]).showGrips(showGrips);
}
// make sure the elements are in the correct order