mirror of
https://github.com/ppy/osu.git
synced 2026-05-21 18:10:40 +08:00
Also apply alpha logic to StoryboardAnimation sprites too.
This commit is contained in:
committed by
GitHub
Unverified
parent
4e4aa44a02
commit
f73307876e
@@ -89,6 +89,13 @@ namespace osu.Game.Storyboards.Drawables
|
||||
LifetimeEnd = animation.EndTimeForDisplay;
|
||||
}
|
||||
|
||||
// Match stable behavior with alpha values > 1 during interpolation (eg. overshoot easings like InOutElastic etc.)
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
if (Alpha > 1) Alpha = 0;
|
||||
}
|
||||
|
||||
[Resolved]
|
||||
private ISkinSource skin { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user