fix(editor): On focus drag only update other binding if it's orbit (#10730)
fix(focus): Only update other binding if it's orbit Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
@@ -137,7 +137,7 @@ const focusPointUpdate = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Also update the adjacent end if it has a binding
|
// Also update the adjacent end if it has a binding
|
||||||
if (adjacentBinding) {
|
if (adjacentBinding && adjacentBinding.mode === "orbit") {
|
||||||
const adjacentBindableElement = elementsMap.get(
|
const adjacentBindableElement = elementsMap.get(
|
||||||
adjacentBinding.elementId,
|
adjacentBinding.elementId,
|
||||||
) as ExcalidrawBindableElement;
|
) as ExcalidrawBindableElement;
|
||||||
|
|||||||
Reference in New Issue
Block a user