mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 05:43:21 +08:00
Merge pull request #30199 from bdach/no-song-progress-tooltip-during-gameplay
Fix argon song progress bar tooltip showing during active gameplay
This commit is contained in:
commit
245d05a2e2
@ -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