mirror of
https://github.com/osukey/osukey.git
synced 2025-07-22 19:00:05 +09:00
Adjust OnHover syntax
This commit is contained in:
@ -46,15 +46,17 @@ namespace osu.Game.Overlays.Profile
|
|||||||
|
|
||||||
protected override bool OnHover(HoverEvent e)
|
protected override bool OnHover(HoverEvent e)
|
||||||
{
|
{
|
||||||
if (data.Length <= 1)
|
if (data.Length > 1)
|
||||||
return base.OnHover(e);
|
{
|
||||||
|
|
||||||
graph.UpdateBallPosition(e.MousePosition.X);
|
graph.UpdateBallPosition(e.MousePosition.X);
|
||||||
graph.ShowBar();
|
graph.ShowBar();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return base.OnHover(e);
|
||||||
|
}
|
||||||
|
|
||||||
protected override bool OnMouseMove(MouseMoveEvent e)
|
protected override bool OnMouseMove(MouseMoveEvent e)
|
||||||
{
|
{
|
||||||
if (data.Length > 1)
|
if (data.Length > 1)
|
||||||
|
Reference in New Issue
Block a user