mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Rename button to be more descriptive of its purpose
This commit is contained in:
parent
a190801291
commit
fb5f3fb9af
@ -18,14 +18,14 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Overlays.Mods
|
namespace osu.Game.Overlays.Mods
|
||||||
{
|
{
|
||||||
public class LocalPlayerModButton : ModButton
|
public class IncompatibilityDisplayingModButton : ModButton
|
||||||
{
|
{
|
||||||
private readonly CompositeDrawable incompatibleIcon;
|
private readonly CompositeDrawable incompatibleIcon;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private Bindable<IReadOnlyList<Mod>> selectedMods { get; set; }
|
private Bindable<IReadOnlyList<Mod>> selectedMods { get; set; }
|
||||||
|
|
||||||
public LocalPlayerModButton(Mod mod)
|
public IncompatibilityDisplayingModButton(Mod mod)
|
||||||
: base(mod)
|
: base(mod)
|
||||||
{
|
{
|
||||||
ButtonContent.Add(incompatibleIcon = new IncompatibleIcon
|
ButtonContent.Add(incompatibleIcon = new IncompatibleIcon
|
@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override ModButton CreateModButton(Mod mod) => new LocalPlayerModButton(mod);
|
protected override ModButton CreateModButton(Mod mod) => new IncompatibilityDisplayingModButton(mod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user