From 3b688c702c5cfd82b4c1e0a5b968d0aac844113e Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Mon, 10 Dec 2018 17:06:34 +0900 Subject: [PATCH] Use graying rather than alpha --- osu.Game/Screens/Multi/Components/DisableableTabControl.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Screens/Multi/Components/DisableableTabControl.cs b/osu.Game/Screens/Multi/Components/DisableableTabControl.cs index e2a44f7ff4..fdc2fd578d 100644 --- a/osu.Game/Screens/Multi/Components/DisableableTabControl.cs +++ b/osu.Game/Screens/Multi/Components/DisableableTabControl.cs @@ -4,6 +4,7 @@ using osu.Framework.Configuration; using osu.Framework.Graphics.UserInterface; using osu.Framework.Input.Events; +using osuTK.Graphics; namespace osu.Game.Screens.Multi.Components { @@ -30,7 +31,7 @@ namespace osu.Game.Screens.Multi.Components private void updateReadOnly(bool readOnly) { - Alpha = readOnly ? 0.2f : 1; + Colour = readOnly ? Color4.Gray : Color4.White; } protected override bool OnClick(ClickEvent e)