mirror of
https://github.com/ppy/osu
synced 2024-12-12 18:07:52 +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
|
||||
{
|
||||
public class LocalPlayerModButton : ModButton
|
||||
public class IncompatibilityDisplayingModButton : ModButton
|
||||
{
|
||||
private readonly CompositeDrawable incompatibleIcon;
|
||||
|
||||
[Resolved]
|
||||
private Bindable<IReadOnlyList<Mod>> selectedMods { get; set; }
|
||||
|
||||
public LocalPlayerModButton(Mod mod)
|
||||
public IncompatibilityDisplayingModButton(Mod mod)
|
||||
: base(mod)
|
||||
{
|
||||
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