1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 02:43:01 +08:00

Fix songselect blur potentially never being applied

This commit is contained in:
David Zhao 2019-03-01 11:49:04 +09:00
parent 09e1e3bab6
commit f6303a2855

View File

@ -15,6 +15,9 @@ namespace osu.Game.Screens
protected Vector2 BlurTarget;
public TransformSequence<Background> BlurTo(Vector2 sigma, double duration, Easing easing = Easing.None)
=> Background?.BlurTo(BlurTarget = sigma, duration, easing);
{
BlurTarget = sigma;
return Background?.BlurTo(BlurTarget, duration, easing);
}
}
}