Updated to use ppy's implementation

This commit is contained in:
MrTheMake
2017-07-14 12:09:55 +02:00
parent 8e0d59bfed
commit c053733ea9
6 changed files with 4 additions and 15 deletions

View File

@ -93,7 +93,7 @@ namespace osu.Game.Graphics.UserInterface
{
FadeColour(Color4.White, 200, EasingTypes.OutQuint);
if (Hovering)
if (IsHovered)
OnHover(new InputState());
}
else
@ -101,7 +101,7 @@ namespace osu.Game.Graphics.UserInterface
FadeColour(disableColour, 200, EasingTypes.OutQuint);
content.ScaleTo(1, 200, EasingTypes.OutElastic);
if (Hovering)
if (IsHovered)
OnHoverLost(new InputState());
}
}