mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
More changes in-line with framework changes.
This commit is contained in:
@ -30,7 +30,7 @@ namespace osu.Game.Graphics
|
||||
public static void FadeAccent<T>(this T accentedDrawable, Color4 newColour, double duration = 0, EasingTypes easing = EasingTypes.None)
|
||||
where T : Transformable<Drawable>, IHasAccentColour
|
||||
{
|
||||
accentedDrawable.TransformTo(() => accentedDrawable.AccentColour, newColour, duration, easing, new TransformAccent());
|
||||
accentedDrawable.TransformTo(newColour, duration, easing, new TransformAccent());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user