From 61b8d035fe938ef274694357ac15f0e0774b81d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Fri, 13 Oct 2023 09:08:13 +0200 Subject: [PATCH] Use dangerous colour for "apply new" button --- .../Settings/Sections/Input/KeyBindingConflictPopover.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osu.Game/Overlays/Settings/Sections/Input/KeyBindingConflictPopover.cs b/osu.Game/Overlays/Settings/Sections/Input/KeyBindingConflictPopover.cs index a7e871d508..297d8fab63 100644 --- a/osu.Game/Overlays/Settings/Sections/Input/KeyBindingConflictPopover.cs +++ b/osu.Game/Overlays/Settings/Sections/Input/KeyBindingConflictPopover.cs @@ -37,6 +37,9 @@ namespace osu.Game.Overlays.Settings.Sections.Input [Resolved] private RealmAccess realm { get; set; } = null!; + [Resolved] + private OsuColour colours { get; set; } = null!; + [BackgroundDependencyLoader] private void load() => recreateDisplay(); @@ -84,6 +87,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input applyNewButton = new HoverableRoundedButton { Text = InputSettingsStrings.ApplyNew, + BackgroundColour = colours.Pink3, RelativeSizeAxes = Axes.X, Width = 0.48f, Anchor = Anchor.CentreRight,