mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:43:04 +08: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