1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:33:20 +08:00

Keep track of local bound copy

This commit is contained in:
Naxess 2021-05-13 05:46:47 +02:00
parent 04c1585eb2
commit e80d8f6922

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
@ -21,12 +22,14 @@ namespace osu.Game.Screens.Edit.Verify
IssueType.Negligible
};
private BindableList<IssueType> hiddenIssueTypes;
protected override string Header => "Visibility";
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colours)
{
var hiddenIssueTypes = verify.HiddenIssueTypes.GetBoundCopy();
hiddenIssueTypes = verify.HiddenIssueTypes.GetBoundCopy();
foreach (IssueType issueType in configurableIssueTypes)
{