mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
removed unused stuff and change the tooltip y coordinate
This commit is contained in:
@ -43,7 +43,7 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
ActiveCursor.RotateTo(degrees, 600, EasingTypes.OutQuint);
|
ActiveCursor.RotateTo(degrees, 600, EasingTypes.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip.Position = new Vector2(state.Mouse.Position.X,ActiveCursor.BoundingBox.Bottom);
|
tooltip.Position = new Vector2(state.Mouse.Position.X,Math.Min(ActiveCursor.BoundingBox.Bottom, state.Mouse.Position.Y + ActiveCursor.DrawHeight));
|
||||||
tooltip.MouseState = state.Mouse;
|
tooltip.MouseState = state.Mouse;
|
||||||
|
|
||||||
return base.OnMouseMove(state);
|
return base.OnMouseMove(state);
|
||||||
|
@ -99,7 +99,6 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
Scheduler.Update();
|
|
||||||
if (overhang?.Overhanging ?? false)
|
if (overhang?.Overhanging ?? false)
|
||||||
TooltipText = overhang.Tooltip;
|
TooltipText = overhang.Tooltip;
|
||||||
else if (overhang != null)
|
else if (overhang != null)
|
||||||
|
Reference in New Issue
Block a user