mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
---changing---
This commit is contained in:
@ -20,12 +20,6 @@ namespace osu.Game.Graphics.Cursor
|
||||
protected override Drawable CreateCursor() => new Cursor();
|
||||
|
||||
private bool dragging;
|
||||
private readonly Tooltip tooltip;
|
||||
|
||||
public MenuCursor()
|
||||
{
|
||||
Add(tooltip = new Tooltip());
|
||||
}
|
||||
|
||||
protected override bool OnMouseMove(InputState state)
|
||||
{
|
||||
@ -43,9 +37,6 @@ namespace osu.Game.Graphics.Cursor
|
||||
ActiveCursor.RotateTo(degrees, 600, EasingTypes.OutQuint);
|
||||
}
|
||||
|
||||
tooltip.Position = new Vector2(state.Mouse.Position.X,Math.Min(ActiveCursor.BoundingBox.Bottom, state.Mouse.Position.Y + ActiveCursor.DrawHeight));
|
||||
tooltip.MouseState = state.Mouse;
|
||||
|
||||
return base.OnMouseMove(state);
|
||||
}
|
||||
|
||||
@ -107,7 +98,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
|
||||
public Cursor()
|
||||
{
|
||||
AutoSizeAxes = Axes.Both;
|
||||
Size = new Vector2(42);
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
Reference in New Issue
Block a user