mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 18:10:01 +08:00
Fix behaviour screen using old style buttons
This commit is contained in:
parent
61313b69ec
commit
63b9e01d38
@ -9,7 +9,7 @@ using osu.Framework.Localisation;
|
||||
using osu.Framework.Testing;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Graphics.UserInterfaceV2;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Overlays.Settings;
|
||||
using osu.Game.Overlays.Settings.Sections;
|
||||
@ -22,7 +22,7 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
private SearchContainer<SettingsSection> searchContainer;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
Content.Children = new Drawable[]
|
||||
{
|
||||
@ -50,7 +50,7 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
{
|
||||
new[]
|
||||
{
|
||||
new TriangleButton
|
||||
new RoundedButton
|
||||
{
|
||||
Anchor = Anchor.TopLeft,
|
||||
Origin = Anchor.TopLeft,
|
||||
@ -59,10 +59,11 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
Action = applyStandard,
|
||||
},
|
||||
Empty(),
|
||||
new DangerousTriangleButton
|
||||
new RoundedButton
|
||||
{
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight,
|
||||
BackgroundColour = colours.Pink3,
|
||||
Text = FirstRunSetupOverlayStrings.ClassicDefaults,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Action = applyClassic
|
||||
|
Loading…
x
Reference in New Issue
Block a user