mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 01:42:54 +08:00
Fix settings checkboxes not being searchable (#5003)
Fix settings checkboxes not being searchable Co-authored-by: Dan Balasescu <1329837+smoogipoo@users.noreply.github.com>
This commit is contained in:
commit
ddbd240d76
@ -10,11 +10,14 @@ namespace osu.Game.Overlays.Settings
|
|||||||
{
|
{
|
||||||
private OsuCheckbox checkbox;
|
private OsuCheckbox checkbox;
|
||||||
|
|
||||||
|
private string labelText;
|
||||||
|
|
||||||
protected override Drawable CreateControl() => checkbox = new OsuCheckbox();
|
protected override Drawable CreateControl() => checkbox = new OsuCheckbox();
|
||||||
|
|
||||||
public override string LabelText
|
public override string LabelText
|
||||||
{
|
{
|
||||||
set => checkbox.LabelText = value;
|
get => labelText;
|
||||||
|
set => checkbox.LabelText = labelText = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user