Files
lmms/include
regulus79 f4d5957b2a Fix sensitivity of tangent editing in Automation Editor (#7946)
Previously, the sensitivity of the tangent editing in the automation editor was hardcoded so that it would change the internal value by the number of pixels the mouse moved up (with a bit of scaling based on the x position too). This is not correct, since it does not respect the zoom of the editor or the min/max values relative to the window size.

This PR adds the correct scaling constant to the tanget value to convert pixels to levels. The automation editor already had the right constant as a member variable, m_y_delta, but it would only update when using the hardcoded zoom levels, so I reworked it to also work for auto zoom.

---------

Co-authored-by: Dalton Messmer <messmer.dalton@gmail.com>
Co-authored-by: Fawn <rubiefawn@gmail.com>
2026-07-02 07:55:42 -04:00
..
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2026-04-04 19:50:28 -04:00
2025-11-03 11:58:15 -06:00
2025-10-20 22:20:01 -04:00
2023-01-05 17:58:49 -05:00
2023-11-11 18:09:38 -05:00
2025-11-03 11:58:15 -06:00
2025-11-03 11:58:15 -06:00
2023-11-19 00:44:15 -05:00
2025-06-15 14:41:23 -04:00
2025-11-03 11:58:15 -06:00
2023-08-24 19:16:02 +01:00
2026-02-27 00:20:36 -05:00
2026-02-27 00:20:36 -05:00
2023-01-05 17:58:49 -05:00
2026-02-27 00:20:36 -05:00
2026-03-09 02:32:45 -04:00
2023-01-05 17:58:49 -05:00
2025-11-03 11:58:15 -06:00
2025-10-20 22:20:01 -04:00
2023-01-05 17:58:49 -05:00
2025-03-20 01:30:29 -04:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-01-04 21:18:37 -05:00
2025-11-03 11:58:15 -06:00
2025-11-03 11:58:15 -06:00
2026-03-23 15:20:32 -06:00
2026-04-29 23:19:42 -06:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2008-07-22 11:36:50 +00:00
2023-01-05 17:58:49 -05:00
2023-11-19 00:44:15 -05:00
2025-10-20 22:20:01 -04:00
2026-03-09 02:32:45 -04:00
2023-01-05 17:58:49 -05:00
2025-10-20 22:20:01 -04:00
2026-03-18 06:33:36 -04:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2024-07-08 23:02:49 +02:00
2026-03-18 06:33:36 -04:00
2026-03-18 06:33:36 -04:00
2023-08-24 19:16:02 +01:00
2023-01-05 17:58:49 -05:00
2025-11-03 11:58:15 -06:00
2023-01-05 17:58:49 -05:00
2025-10-20 22:20:01 -04:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-02-27 00:20:36 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-08-24 19:16:02 +01:00
2023-08-24 19:16:02 +01:00
2023-07-22 23:03:31 +02:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-03-09 02:32:45 -04:00
2026-02-27 00:20:36 -05:00
2023-06-02 22:17:03 +02:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2024-06-01 12:09:47 +02:00
2023-01-05 17:58:49 -05:00
2023-11-19 00:44:15 -05:00
2023-01-05 17:58:49 -05:00
2024-02-25 13:49:56 -05:00
2025-11-03 11:58:15 -06:00
2024-07-08 23:02:49 +02:00
2026-02-27 00:20:36 -05:00
2023-08-24 19:16:02 +01:00
2025-10-20 22:20:01 -04:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-01-04 21:18:37 -05:00
2026-01-04 21:18:37 -05:00
2026-02-27 00:20:36 -05:00
2023-01-05 17:58:49 -05:00
2026-03-09 02:32:45 -04:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-03-18 06:33:36 -04:00
2023-01-05 17:58:49 -05:00
2026-02-27 00:20:36 -05:00
2023-07-16 14:11:24 +02:00
2023-01-05 17:58:49 -05:00
2025-11-03 11:58:15 -06:00
2023-01-05 17:58:49 -05:00
2023-08-24 19:16:02 +01:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2023-01-05 17:58:49 -05:00
2026-03-18 06:33:36 -04:00
2024-02-25 13:49:56 -05:00