1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Merge pull request #4371 from nyquillerium/UserDimLogic

Fix song select blur potentially never being applied
This commit is contained in:
Dean Herbert 2019-03-01 12:52:37 +09:00 committed by GitHub
commit 06ae9d40cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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