mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Rename to dimColour
This commit is contained in:
parent
f44af1ad69
commit
18c144395a
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user