From b106daabdea2febe4a976248492ac697ed60adb2 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 5 Jun 2025 16:10:21 +0900 Subject: [PATCH] Adjust keyboard selection animation and opacity slightly --- osu.Game/Screens/SelectV2/Panel.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/SelectV2/Panel.cs b/osu.Game/Screens/SelectV2/Panel.cs index 40c09b5de7..0ba293ca7b 100644 --- a/osu.Game/Screens/SelectV2/Panel.cs +++ b/osu.Game/Screens/SelectV2/Panel.cs @@ -180,7 +180,7 @@ namespace osu.Game.Screens.SelectV2 keyboardSelectionLayer = new Box { Alpha = 0, - Colour = colourProvider.Highlight1.Opacity(0.1f), + Colour = ColourInfo.GradientHorizontal(colourProvider.Highlight1.Opacity(0.1f), colourProvider.Highlight1.Opacity(0.4f)), Blending = BlendingParameters.Additive, RelativeSizeAxes = Axes.Both, }, @@ -262,7 +262,11 @@ namespace osu.Game.Screens.SelectV2 KeyboardSelected.BindValueChanged(selected => { if (selected.NewValue) - keyboardSelectionLayer.FadeIn(100, Easing.OutQuint); + { + keyboardSelectionLayer.FadeIn(80, Easing.Out) + .Then() + .FadeTo(0.5f, 2000, Easing.OutQuint); + } else keyboardSelectionLayer.FadeOut(1000, Easing.OutQuint);