mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-06 12:34:42 +01:00
fix: Line element angle snapping
This commit is contained in:
@@ -317,7 +317,7 @@ export class LinearElementEditor {
|
||||
let deltaY = 0;
|
||||
if (
|
||||
shouldRotateWithDiscreteAngle(event) &&
|
||||
!hoveredElement &&
|
||||
(!isBindingElement(element) || !hoveredElement) &&
|
||||
!element.startBinding &&
|
||||
!element.endBinding
|
||||
) {
|
||||
@@ -504,7 +504,7 @@ export class LinearElementEditor {
|
||||
if (
|
||||
shouldRotateWithDiscreteAngle(event) &&
|
||||
singlePointDragged &&
|
||||
!hoveredElement &&
|
||||
(!isBindingElement(element) || !hoveredElement) &&
|
||||
!element.startBinding &&
|
||||
!element.endBinding
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user