mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 10:47:28 +08:00
Keep tooltip's current target while the main button is pressed.
Handles drag operations better.
This commit is contained in:
parent
30c3c932b1
commit
990c14fbe0
@ -66,7 +66,7 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
|
|
||||||
if (currentlyDisplayed?.Hovering != true)
|
if (currentlyDisplayed?.Hovering != true)
|
||||||
{
|
{
|
||||||
if (currentlyDisplayed != null)
|
if (currentlyDisplayed != null && !state.Mouse.HasMainButtonPressed)
|
||||||
{
|
{
|
||||||
tooltip.Delay(100);
|
tooltip.Delay(100);
|
||||||
tooltip.FadeOut(500, EasingTypes.OutQuint);
|
tooltip.FadeOut(500, EasingTypes.OutQuint);
|
||||||
|
Loading…
Reference in New Issue
Block a user