1
0
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:
smoogipoo 2018-03-12 10:49:50 +09:00
parent 96e2aca1ba
commit 86d93ffe3c

View File

@ -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();
} }