mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Fix tooltip not working due to not handling input
This commit is contained in:
parent
96e2aca1ba
commit
86d93ffe3c
@ -58,6 +58,8 @@ namespace osu.Game.Graphics
|
|||||||
Scheduler.AddDelayed(updateTimeWithReschedule, timeUntilNextUpdate);
|
Scheduler.AddDelayed(updateTimeWithReschedule, timeUntilNextUpdate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool HandleMouseInput => true;
|
||||||
|
|
||||||
private void updateTime() => Text = date.Humanize();
|
private void updateTime() => Text = date.Humanize();
|
||||||
public string TooltipText => date.ToString();
|
public string TooltipText => date.ToString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user