Fix SongProgressInfo timespan formatting

This commit is contained in:
FreezyLemon 2018-06-02 11:25:49 +02:00
parent 53b11155d1
commit a0c643fae5
1 changed files with 1 additions and 1 deletions

View File

@ -92,6 +92,6 @@ protected override void Update()
}
}
private string formatTime(TimeSpan timeSpan) => $"{(timeSpan < TimeSpan.Zero ? "-" : "")}{timeSpan.Duration().TotalMinutes:N0}:{timeSpan.Duration().Seconds:D2}";
private string formatTime(TimeSpan timeSpan) => $"{(timeSpan < TimeSpan.Zero ? "-" : "")}{Math.Floor(timeSpan.Duration().TotalMinutes)}:{timeSpan.Duration().Seconds:D2}";
}
}