feat: Binding highlight band re-added

This commit is contained in:
Mark Tolmacs
2025-10-31 17:53:10 +01:00
parent 03e29cc0b7
commit 465c645240
4 changed files with 460 additions and 10 deletions

View File

@@ -2126,7 +2126,11 @@ const pointDraggingUpdates = (
),
};
if (startIsDragged) {
if (
startIsDragged &&
(updates.startBinding.mode === "orbit" ||
!getFeatureFlag("COMPLEX_BINDINGS"))
) {
updates.suggestedBinding = start.element;
}
} else if (startIsDragged) {
@@ -2148,7 +2152,11 @@ const pointDraggingUpdates = (
),
};
if (endIsDragged && updates.endBinding.mode === "orbit") {
if (
endIsDragged &&
(updates.endBinding.mode === "orbit" ||
!getFeatureFlag("COMPLEX_BINDINGS"))
) {
updates.suggestedBinding = end.element;
}
} else if (endIsDragged) {