Use graying rather than alpha

This commit is contained in:
smoogipoo 2018-12-10 17:06:34 +09:00
parent c7970e5425
commit 3b688c702c

View File

@ -4,6 +4,7 @@
using osu.Framework.Configuration; using osu.Framework.Configuration;
using osu.Framework.Graphics.UserInterface; using osu.Framework.Graphics.UserInterface;
using osu.Framework.Input.Events; using osu.Framework.Input.Events;
using osuTK.Graphics;
namespace osu.Game.Screens.Multi.Components namespace osu.Game.Screens.Multi.Components
{ {
@ -30,7 +31,7 @@ namespace osu.Game.Screens.Multi.Components
private void updateReadOnly(bool readOnly) private void updateReadOnly(bool readOnly)
{ {
Alpha = readOnly ? 0.2f : 1; Colour = readOnly ? Color4.Gray : Color4.White;
} }
protected override bool OnClick(ClickEvent e) protected override bool OnClick(ClickEvent e)