mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Set default for bindable in object initializer
Fixes the CI failure.
This commit is contained in:
@ -37,10 +37,10 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
LabelText = issueType.ToString()
|
LabelText = issueType.ToString(),
|
||||||
|
Current = { Default = !hiddenIssueTypes.Contains(issueType) }
|
||||||
};
|
};
|
||||||
|
|
||||||
checkbox.Current.Default = !hiddenIssueTypes.Contains(issueType);
|
|
||||||
checkbox.Current.SetDefault();
|
checkbox.Current.SetDefault();
|
||||||
checkbox.Current.BindValueChanged(state =>
|
checkbox.Current.BindValueChanged(state =>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user