mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 14:13:01 +08:00
Fix wrong conditional expression
This commit is contained in:
parent
6e6e43e8df
commit
93dbc55738
@ -82,10 +82,11 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
protected override bool OnHover(InputState state)
|
||||
{
|
||||
if (isEnabled && !IsHoverMuted)
|
||||
if (isEnabled)
|
||||
{
|
||||
this.FadeColour(HoverColour, 500, Easing.OutQuint);
|
||||
sampleHover?.Play();
|
||||
if (!IsHoverMuted)
|
||||
sampleHover?.Play();
|
||||
}
|
||||
return base.OnHover(state);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user