Made the progress slider not be at the end when the track is paused and corrected the formula for setting the remaining time in unpause_track_progress_timer()

This commit is contained in:
The Wobbler 2024-12-21 19:14:17 +01:00
parent 45d97f5aeb
commit 44c9fafb2c
2 changed files with 5 additions and 1 deletions

View file

@ -111,5 +111,5 @@ class Player:
self.track_progress_timer.stop()
def unpause_track_progress_timer(self):
self.track_progress_timer.start(self.playing_track.duration - self.remaining_time)
self.track_progress_timer.start(self.remaining_time)