fix(ui): group edge selection actions

This commit is contained in:
psychedelicious 2024-05-19 14:43:44 +10:00
parent e38d75c3dc
commit 1d7671298f

View File

@ -528,6 +528,11 @@ const isSelectionAction = (action: UnknownAction) => {
return true;
}
}
if (edgesChanged.match(action)) {
if (action.payload.every((change) => change.type === 'select')) {
return true;
}
}
return false;
};