Skip to content

Commit

Permalink
Use dangerous colour for "apply new" button
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Oct 13, 2023
1 parent 37411f9 commit 61b8d03
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public partial class KeyBindingConflictPopover : OsuPopover
[Resolved]
private RealmAccess realm { get; set; } = null!;

[Resolved]
private OsuColour colours { get; set; } = null!;

[BackgroundDependencyLoader]
private void load() => recreateDisplay();

Expand Down Expand Up @@ -84,6 +87,7 @@ private void recreateDisplay()
applyNewButton = new HoverableRoundedButton
{
Text = InputSettingsStrings.ApplyNew,
BackgroundColour = colours.Pink3,
RelativeSizeAxes = Axes.X,
Width = 0.48f,
Anchor = Anchor.CentreRight,
Expand Down

0 comments on commit 61b8d03

Please sign in to comment.