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

Remove visibility settings

Can look into this later, not really important for a first iteration.
This commit is contained in:
Naxess 2021-04-10 12:58:40 +02:00
parent bab36e529a
commit 43174b708c
2 changed files with 0 additions and 53 deletions

View File

@ -41,7 +41,6 @@ namespace osu.Game.Screens.Edit.Verify
private IReadOnlyList<Drawable> createSections() => new Drawable[]
{
new VisibilitySettings()
};
}
}

View File

@ -1,52 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// 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.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterfaceV2;
using osuTK;
namespace osu.Game.Screens.Edit.Verify
{
internal class VisibilitySettings : CompositeDrawable
{
[BackgroundDependencyLoader]
private void load()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
Padding = new MarginPadding(10);
InternalChildren = new Drawable[]
{
new FillFlowContainer
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Spacing = new Vector2(10),
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
new LabelledSwitchButton
{
Label = "Show problems",
Current = new Bindable<bool>(true)
},
new LabelledSwitchButton
{
Label = "Show warnings",
Current = new Bindable<bool>(true)
},
new LabelledSwitchButton
{
Label = "Show negligibles"
}
}
},
};
}
}
}