Files
ardour/libs/canvas
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-08-27 12:54:43 -06:00
2021-08-13 12:51:26 -06:00
2022-08-03 12:07:46 -06:00
2021-09-14 18:29:39 -06:00
2021-08-13 12:51:25 -06:00
2022-08-03 12:07:46 -06:00
2020-12-30 03:26:00 +01:00