mirror of https://github.com/ppy/osu
Move property to a better place in the class
This commit is contained in:
parent
dddd776802
commit
9fb41dc0b6
|
@ -37,6 +37,8 @@ public abstract class SettingsItem<T> : Container, IFilterable, ISettingsItem, I
|
||||||
|
|
||||||
public bool ShowsDefaultIndicator = true;
|
public bool ShowsDefaultIndicator = true;
|
||||||
|
|
||||||
|
public string TooltipText { get; set; }
|
||||||
|
|
||||||
public virtual string LabelText
|
public virtual string LabelText
|
||||||
{
|
{
|
||||||
get => labelText?.Text ?? string.Empty;
|
get => labelText?.Text ?? string.Empty;
|
||||||
|
@ -214,7 +216,5 @@ public void UpdateState()
|
||||||
this.FadeColour(bindable.Disabled ? Color4.Gray : buttonColour, 200, Easing.OutQuint);
|
this.FadeColour(bindable.Disabled ? Color4.Gray : buttonColour, 200, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string TooltipText { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue