mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09:00
Ignore failed casts to make tests happy
This commit is contained in:
parent
ac4f56403d
commit
e0210f5c4c
@ -21,8 +21,8 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
base.SkinChanged(skin, allowFallback);
|
base.SkinChanged(skin, allowFallback);
|
||||||
|
|
||||||
skinnedCounter = (IComboCounter)Drawable;
|
skinnedCounter = Drawable as IComboCounter;
|
||||||
skinnedCounter.Current.BindTo(Current);
|
skinnedCounter?.Current.BindTo(Current);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Drawable createDefault(ISkinComponent skinComponent) => new DefaultComboCounter();
|
private static Drawable createDefault(ISkinComponent skinComponent) => new DefaultComboCounter();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user