1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 23:03:02 +08:00

Fix wrong conditional expression

This commit is contained in:
HoutarouOreki 2018-07-26 10:47:43 +02:00
parent 6e6e43e8df
commit 93dbc55738

View File

@ -82,9 +82,10 @@ namespace osu.Game.Graphics.UserInterface
protected override bool OnHover(InputState state)
{
if (isEnabled && !IsHoverMuted)
if (isEnabled)
{
this.FadeColour(HoverColour, 500, Easing.OutQuint);
if (!IsHoverMuted)
sampleHover?.Play();
}
return base.OnHover(state);