1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Adjust BlurredIcon expansion ratio to fix glow getting cut off at lower resolutions

Closes https://github.com/ppy/osu/issues/23210.

Ballparked the fix to work down to the lowest resolution we support. The
previous number (`2.5f`) was also likely ballparked so the fix seems in
line with expectations.

I don't want to put too much thought into this because the design of
this screen is likely going to change in the mean time anyway.
This commit is contained in:
Dean Herbert 2023-05-05 14:29:03 +09:00
parent 698baa78bf
commit 560f71ef53

View File

@ -27,7 +27,7 @@ namespace osu.Game.Screens.Play.Break
set
{
icon.Size = value;
base.Size = value + BlurSigma * 2.5f;
base.Size = value + BlurSigma * 5;
ForceRedraw();
}
get => base.Size;