From 18c144395ae7644601b09da7a112d963a0bcb27c Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Fri, 24 Dec 2021 17:03:29 +0900 Subject: [PATCH] Rename to dimColour --- osu.Game/Graphics/UserInterface/OsuAnimatedButton.cs | 6 +++--- osu.Game/Graphics/UserInterface/OsuButton.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game/Graphics/UserInterface/OsuAnimatedButton.cs b/osu.Game/Graphics/UserInterface/OsuAnimatedButton.cs index fd6ef25648..13b42c0f13 100644 --- a/osu.Game/Graphics/UserInterface/OsuAnimatedButton.cs +++ b/osu.Game/Graphics/UserInterface/OsuAnimatedButton.cs @@ -89,11 +89,11 @@ namespace osu.Game.Graphics.UserInterface { base.LoadComplete(); - Colour = enablementColour; - Enabled.BindValueChanged(_ => this.FadeColour(enablementColour, 200, Easing.OutQuint)); + Colour = dimColour; + Enabled.BindValueChanged(_ => this.FadeColour(dimColour, 200, Easing.OutQuint)); } - private Color4 enablementColour => Enabled.Value ? Color4.White : colours.Gray9; + private Color4 dimColour => Enabled.Value ? Color4.White : colours.Gray9; protected override bool OnHover(HoverEvent e) { diff --git a/osu.Game/Graphics/UserInterface/OsuButton.cs b/osu.Game/Graphics/UserInterface/OsuButton.cs index a59352ba16..7c1e8d90a0 100644 --- a/osu.Game/Graphics/UserInterface/OsuButton.cs +++ b/osu.Game/Graphics/UserInterface/OsuButton.cs @@ -97,11 +97,11 @@ namespace osu.Game.Graphics.UserInterface { base.LoadComplete(); - Colour = enablementColour; - Enabled.BindValueChanged(_ => this.FadeColour(enablementColour, 200, Easing.OutQuint)); + Colour = dimColour; + Enabled.BindValueChanged(_ => this.FadeColour(dimColour, 200, Easing.OutQuint)); } - private Color4 enablementColour => Enabled.Value ? Color4.White : Color4.Gray; + private Color4 dimColour => Enabled.Value ? Color4.White : Color4.Gray; protected override bool OnClick(ClickEvent e) {