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:
parent
4ec6619946
commit
6c60a09631
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user