mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Refresh IssueList
on changes in VisibilitySection
This commit is contained in:
parent
1bb7d412da
commit
ad78aec1ef
@ -78,7 +78,7 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
new TriangleButton
|
||||
{
|
||||
Text = "Refresh",
|
||||
Action = refresh,
|
||||
Action = Refresh,
|
||||
Size = new Vector2(120, 40),
|
||||
Anchor = Anchor.BottomRight,
|
||||
Origin = Anchor.BottomRight,
|
||||
@ -92,10 +92,10 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
refresh();
|
||||
Refresh();
|
||||
}
|
||||
|
||||
private void refresh()
|
||||
public void Refresh()
|
||||
{
|
||||
var issues = generalVerifier.Run(beatmap, workingBeatmap.Value);
|
||||
|
||||
|
@ -31,6 +31,7 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
};
|
||||
|
||||
checkbox.Current.BindTo(IssueList.ShowType[issueType]);
|
||||
checkbox.Current.BindValueChanged(_ => IssueList.Refresh());
|
||||
Flow.Add(checkbox);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user