Files
ardour/libs
Mads Kiilerich 0b27d6e652 Fix proximity threshold for polyline
I'm not good with a mouse, so I found it hard to edit animation lines.
The mouse position has to be quite precise, with only a small threshold.

Looking at the code, AutomationLine sets the threshold for the PolyLine
to 4.0 . That seems to be a distance, and better for me than what I
experience.

The actual code in PolyLine is however comparing it directly to the
squared distance, making it more sensitive than expected.

Fixed by computing the squared threshold - also including the line
width.
2022-10-17 00:09:25 +02:00
..
2022-09-21 19:09:55 -06:00
2022-08-03 12:10:01 -06:00
2022-08-03 12:10:01 -06:00
2022-08-03 12:10:01 -06:00
2022-10-16 22:30:35 +02:00
2022-09-21 19:09:55 -06:00
2021-03-01 22:14:38 +01:00