mirror of
https://github.com/ppy/osu
synced 2025-02-06 13:22:14 +00:00
Fix settings checkboxes not being searchable
This commit is contained in:
parent
f23e812318
commit
94e65a3244
@ -10,11 +10,14 @@ namespace osu.Game.Overlays.Settings
|
||||
{
|
||||
private OsuCheckbox checkbox;
|
||||
|
||||
private string labelText;
|
||||
|
||||
protected override Drawable CreateControl() => checkbox = new OsuCheckbox();
|
||||
|
||||
public override string LabelText
|
||||
{
|
||||
set => checkbox.LabelText = value;
|
||||
get => labelText;
|
||||
set => checkbox.LabelText = labelText = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user