mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Keep tooltip's current target while the main button is pressed.
Handles drag operations better.
This commit is contained in:
@ -66,7 +66,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
|
||||
if (currentlyDisplayed?.Hovering != true)
|
||||
{
|
||||
if (currentlyDisplayed != null)
|
||||
if (currentlyDisplayed != null && !state.Mouse.HasMainButtonPressed)
|
||||
{
|
||||
tooltip.Delay(100);
|
||||
tooltip.FadeOut(500, EasingTypes.OutQuint);
|
||||
|
Reference in New Issue
Block a user