1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 11: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:
Bartłomiej Dach 2024-10-10 14:36:28 +02:00
parent cab97a96ab
commit 938c3d78ce
No known key found for this signature in database

View File

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