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