1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 23:59:16 +08:00

Add back mis-removed fade transform

This commit is contained in:
Salman Ahmed 2021-05-03 12:16:40 +03:00
parent 4f8240f19a
commit 840c22a3b1

View File

@ -75,7 +75,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
if (activeHandle?.InOperation == true || activeHandle?.IsHovered == true) if (activeHandle?.InOperation == true || activeHandle?.IsHovered == true)
return; return;
displayedRotationHandle?.Hide(); displayedRotationHandle?.FadeOut(SelectionBoxControl.TRANSFORM_DURATION, Easing.OutQuint);
displayedRotationHandle = null; displayedRotationHandle = null;
activeHandle = allDragHandles.SingleOrDefault(h => h.InOperation); activeHandle = allDragHandles.SingleOrDefault(h => h.InOperation);
@ -84,7 +84,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
if (activeHandle != null) if (activeHandle != null)
{ {
displayedRotationHandle = getCorrespondingRotationHandle(activeHandle, rotationHandles); displayedRotationHandle = getCorrespondingRotationHandle(activeHandle, rotationHandles);
displayedRotationHandle?.Show(); displayedRotationHandle?.FadeIn(SelectionBoxControl.TRANSFORM_DURATION, Easing.OutQuint);
} }
} }