|
|
|
|
@ -7248,6 +7248,16 @@ class App extends React.Component<AppProps, AppState> {
@@ -7248,6 +7248,16 @@ class App extends React.Component<AppProps, AppState> {
|
|
|
|
|
selectedElements.length === 1 && |
|
|
|
|
!this.state.selectedLinearElement?.isEditing && |
|
|
|
|
!isElbowArrow(selectedElements[0]) && |
|
|
|
|
!( |
|
|
|
|
isLineElement(selectedElements[0]) && |
|
|
|
|
LinearElementEditor.getPointIndexUnderCursor( |
|
|
|
|
selectedElements[0], |
|
|
|
|
elementsMap, |
|
|
|
|
this.state.zoom, |
|
|
|
|
pointerDownState.origin.x, |
|
|
|
|
pointerDownState.origin.y, |
|
|
|
|
) !== -1 |
|
|
|
|
) && |
|
|
|
|
!( |
|
|
|
|
this.state.selectedLinearElement && |
|
|
|
|
this.state.selectedLinearElement.hoverPointIndex !== -1 |
|
|
|
|
|