1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 05:39:53 +08:00

Move property to a better place in the class

This commit is contained in:
Dean Herbert
2021-02-11 16:41:21 +09:00
Unverified
parent dddd776802
commit 9fb41dc0b6
+2 -2
View File
@@ -37,6 +37,8 @@ namespace osu.Game.Overlays.Settings
public bool ShowsDefaultIndicator = true;
public string TooltipText { get; set; }
public virtual string LabelText
{
get => labelText?.Text ?? string.Empty;
@@ -214,7 +216,5 @@ namespace osu.Game.Overlays.Settings
this.FadeColour(bindable.Disabled ? Color4.Gray : buttonColour, 200, Easing.OutQuint);
}
}
public string TooltipText { get; set; }
}
}