Rename button to be more descriptive of its purpose

This commit is contained in:
Dean Herbert 2021-09-01 17:19:38 +09:00
parent a190801291
commit fb5f3fb9af
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
}
}
}