Fix multi-point drags
This commit is contained in:
parent
0a21aa083c
commit
09479a0579
@ -503,7 +503,15 @@ export class LinearElementEditor {
|
|||||||
|
|
||||||
const bindingElement = isBindingEnabled(appState)
|
const bindingElement = isBindingEnabled(appState)
|
||||||
? getHoveredElementForBinding(
|
? getHoveredElementForBinding(
|
||||||
pointerCoords,
|
(selectedPointsIndices?.length ?? 0) > 1
|
||||||
|
? tupleToCoors(
|
||||||
|
LinearElementEditor.getPointAtIndexGlobalCoordinates(
|
||||||
|
element,
|
||||||
|
selectedPoint!,
|
||||||
|
elementsMap,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
: pointerCoords,
|
||||||
elements,
|
elements,
|
||||||
elementsMap,
|
elementsMap,
|
||||||
appState.zoom,
|
appState.zoom,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user