mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix hacky tabs
This commit is contained in:
@ -36,19 +36,6 @@ namespace osu.Game.Screens.Ranking
|
||||
}
|
||||
}
|
||||
|
||||
public override bool Active
|
||||
{
|
||||
get
|
||||
{
|
||||
return base.Active;
|
||||
}
|
||||
set
|
||||
{
|
||||
base.Active = value;
|
||||
colouredPart.FadeColour(Active ? activeColour : inactiveColour, 200, EasingTypes.OutQuint);
|
||||
}
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
@ -104,5 +91,9 @@ namespace osu.Game.Screens.Ranking
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
protected override void OnActivated() => colouredPart.FadeColour(activeColour, 200, EasingTypes.OutQuint);
|
||||
|
||||
protected override void OnDeactivated() => colouredPart.FadeColour(inactiveColour, 200, EasingTypes.OutQuint);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user