mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +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)
|
protected override bool OnHover(InputState state)
|
||||||
{
|
{
|
||||||
if (isEnabled && !IsHoverMuted)
|
if (isEnabled)
|
||||||
{
|
{
|
||||||
this.FadeColour(HoverColour, 500, Easing.OutQuint);
|
this.FadeColour(HoverColour, 500, Easing.OutQuint);
|
||||||
sampleHover?.Play();
|
if (!IsHoverMuted)
|
||||||
|
sampleHover?.Play();
|
||||||
}
|
}
|
||||||
return base.OnHover(state);
|
return base.OnHover(state);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user