mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Use graying rather than alpha
This commit is contained in:
parent
c7970e5425
commit
3b688c702c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user