mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 13:47:24 +08:00
Fix argon song progress bar tooltip showing during active gameplay
Closes https://github.com/ppy/osu/issues/30197. Pretty bad one, might be worth a hotfix...
This commit is contained in:
parent
cab97a96ab
commit
938c3d78ce
@ -41,6 +41,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!Interactive)
|
||||
return default;
|
||||
|
||||
double progress = Math.Clamp(lastMouseX, 0, DrawWidth) / DrawWidth;
|
||||
|
||||
TimeSpan currentSpan = TimeSpan.FromMilliseconds(Math.Round((EndTime - StartTime) * progress));
|
||||
|
Loading…
Reference in New Issue
Block a user