1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 23:47:24 +08:00
osu-lazer/osu.Game/Screens/Edit/Compose
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
..
Components Improve editor selection rotation value wrapping 2023-04-08 01:30:29 +02:00
ComposeScreen.cs Use MaxBy in all locations that can and update inspection level to match dotnet-build 2022-12-19 16:47:10 +09:00
HitObjectUsageEventBuffer.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IPlacementHandler.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00