Move property to a better place in the class

This commit is contained in:
Dean Herbert 2021-02-11 16:41:21 +09:00
parent dddd776802
commit 9fb41dc0b6
1 changed files with 2 additions and 2 deletions

View File

@ -37,6 +37,8 @@ public abstract class SettingsItem<T> : Container, IFilterable, ISettingsItem, I
public bool ShowsDefaultIndicator = true;
public string TooltipText { get; set; }
public virtual string LabelText
{
get => labelText?.Text ?? string.Empty;
@ -214,7 +216,5 @@ public void UpdateState()
this.FadeColour(bindable.Disabled ? Color4.Gray : buttonColour, 200, Easing.OutQuint);
}
}
public string TooltipText { get; set; }
}
}