1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 15:27:24 +08:00

Change dim resseting to be at playExitingTransition()

This commit is contained in:
Arthur Araujo 2024-03-29 07:38:26 -03:00
parent 4ec6619946
commit 6c60a09631
2 changed files with 4 additions and 5 deletions

View File

@ -98,11 +98,7 @@ namespace osu.Game.Screens.Play
backgroundBrightnessReduction = value;
ApplyToBackground(b =>
{
b.DimWhenUserSettingsIgnored.Value = 0;
b.FadeColour(OsuColour.Gray(backgroundBrightnessReduction ? 0.8f : 1), 200);
});
ApplyToBackground(b => b.FadeColour(OsuColour.Gray(backgroundBrightnessReduction ? 0.8f : 1), 200));
}
}

View File

@ -754,6 +754,9 @@ namespace osu.Game.Screens.Select
endLooping();
// Reset any dim SongSelect previously applied to the background
ApplyToBackground(b => b.DimWhenUserSettingsIgnored.Value = 0);
FilterControl.MoveToY(-120, 500, Easing.OutQuint);
FilterControl.FadeOut(200, Easing.OutQuint);