mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Rename button to be more descriptive of its purpose
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user