mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix wrong conditional expression
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user