1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Fix tooltip text not resetting when ending an editor rotation

This commit is contained in:
Micha Lehmann 2023-04-08 14:28:52 +02:00
parent 580d5745c0
commit 3c4a25e53f

View File

@ -111,6 +111,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
base.OnDragEnd(e); base.OnDragEnd(e);
cumulativeRotation.Value = null; cumulativeRotation.Value = null;
rawCumulativeRotation = 0; rawCumulativeRotation = 0;
TooltipText = default;
} }
private float convertDragEventToAngleOfRotation(DragEvent e) private float convertDragEventToAngleOfRotation(DragEvent e)