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