Skip to content

Commit

Permalink
Fix counting when paused
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed May 1, 2020
1 parent f897020 commit 3aff7a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ void MainWindow::refresh()
return;
}
// Assume last refresh was 1 sec ago
if (!current.isPlaying)
return;
current.progressMs += 1000;
refreshed(current);
}
Expand Down

0 comments on commit 3aff7a7

Please sign in to comment.