Robin Gareus 6e7cca5cc0 Fix crashes when moving mouse over port-matrix
Beware of using float as loop/while variable.

When moving the mouse over the tilted port-label area the position p
is set to ` p - (_height - o) * tan (angle ())`.
In optimized (fast math) builds this can be come negative (-0.0).

`::type_channel_to_overall()` then returns a negative channel count,
leading to a crash.

And in some edge-cases (literally moving the mouse to the edge after
resizing the window on Intel Mac), PortMatrixColumnLabels::motion is
called and the port corresponding to the mouse-position is also
computed to be negative.
2025-04-10 03:06:57 +02:00
2022-04-08 19:51:02 +02:00
2025-04-04 17:51:45 +02:00
2023-04-26 13:28:29 -06:00
2021-03-23 23:27:45 +01:00
2024-12-04 02:38:35 +01:00
2023-09-24 19:58:25 +02:00
2025-02-01 11:57:35 +01:00

Please see the Ardour web site at https://ardour.org/ for all documentation..

For information on building ardour: 
      
     https://ardour.org/development.html
Description
No description provided
Readme 202 MiB
Languages
C++ 56.5%
C 39.6%
JavaScript 1.3%
Lua 0.9%
Python 0.6%
Other 0.9%