Micha Lehmann
c827c2810b
Improve editor selection rotation value wrapping
...
This fixes two issues the previous algorithm had:
1. A half-turn rotation used to show up as -180°.
2. Rotating more than 180° in one drag event would overwhelm it
and cause the value to go outside its range.
This comes at the cost of a negligible performance hit,
since a division (modulo) is performed instead of just addition/subtraction.
2023-04-08 01:30:29 +02:00
..
2023-02-03 16:55:51 +09:00
2023-04-08 01:30:29 +02:00
2023-01-14 02:24:48 +03:00
2023-02-12 13:11:42 -08:00
2023-01-15 01:49:19 +03:00
2023-03-02 18:57:54 +09:00
2022-11-30 14:17:49 +09:00
2023-01-15 14:39:34 +03:00
2023-02-07 16:22:51 +09:00
2022-10-24 15:20:15 +09:00
2022-11-27 00:00:27 +09:00
2022-06-17 16:37:17 +09:00
2023-01-15 01:50:47 +03:00
2023-03-05 20:57:26 +01:00
2023-02-19 15:06:40 +01:00
2023-01-07 14:23:36 +03:00
2022-11-09 17:46:43 +09:00
2023-02-07 16:22:51 +09:00
2022-06-17 16:37:17 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2023-01-15 01:50:47 +03:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-06-17 16:37:17 +09:00
2022-11-30 14:17:49 +09:00
2022-06-17 16:37:17 +09:00
2023-02-03 18:57:50 +09:00
2022-06-21 12:11:44 +09:00
2023-01-15 01:50:47 +03:00
2023-02-07 16:22:51 +09:00
2023-01-15 01:50:47 +03:00