mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-16 18:54:34 +01:00
fix: Select the first possible altBindPoint
This commit is contained in:
@@ -9077,7 +9077,9 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
newState.selectedLinearElement?.customLineAngle !==
|
newState.selectedLinearElement?.customLineAngle !==
|
||||||
this.state.selectedLinearElement?.customLineAngle ||
|
this.state.selectedLinearElement?.customLineAngle ||
|
||||||
this.state.selectedLinearElement.isDragging !==
|
this.state.selectedLinearElement.isDragging !==
|
||||||
newState.selectedLinearElement?.isDragging
|
newState.selectedLinearElement?.isDragging ||
|
||||||
|
this.state.selectedLinearElement?.initialState?.altFocusPoint !==
|
||||||
|
newState.selectedLinearElement?.initialState?.altFocusPoint
|
||||||
) {
|
) {
|
||||||
this.setState(newState);
|
this.setState(newState);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user