diff --git a/osu-framework b/osu-framework
index 591b799f95..57821bd61c 160000
--- a/osu-framework
+++ b/osu-framework
@@ -1 +1 @@
-Subproject commit 591b799f95a47e5da893c82d024e01311c9c37c6
+Subproject commit 57821bd61c7676c2fd9e8ff3ea314ec81c1eef41
diff --git a/osu.Game/Graphics/IHasAccentColour.cs b/osu.Game/Graphics/IHasAccentColour.cs
index 19f063e29a..f959bc8760 100644
--- a/osu.Game/Graphics/IHasAccentColour.cs
+++ b/osu.Game/Graphics/IHasAccentColour.cs
@@ -22,15 +22,13 @@ namespace osu.Game.Graphics
///
/// Tweens the accent colour of a drawable to another colour.
///
- /// The type of drawable.
- /// The drawable to apply the accent colour to.
+ /// The drawable to apply the accent colour to.
/// The new accent colour.
/// The tween duration.
/// The tween easing.
- public static void FadeAccent(this TDrawable drawable, Color4 newColour, double duration = 0, EasingTypes easing = EasingTypes.None)
- where TDrawable : Drawable, IHasAccentColour
+ public static void FadeAccent(this IHasAccentColour accentedDrawable, Color4 newColour, double duration = 0, EasingTypes easing = EasingTypes.None)
{
- drawable.TransformTo(drawable.AccentColour, newColour, duration, easing, new TransformAccent());
+ accentedDrawable.TransformTo(accentedDrawable.AccentColour, newColour, duration, easing, new TransformAccent());
}
}
}