From 07d3c36a074a544649ee8a9b5e4ca5ed44b9d9a0 Mon Sep 17 00:00:00 2001 From: Florrie Date: Wed, 25 Jul 2018 18:36:36 -0300 Subject: Fix runaway progress bar info --- ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index 7b1d330..a7df2b3 100644 --- a/ui.js +++ b/ui.js @@ -298,7 +298,9 @@ class AppElement extends FocusElement { } this.player.on('printStatusLine', data => { - this.playbackInfoElement.updateProgress(data) + if (this.playingTrack) { + this.playbackInfoElement.updateProgress(data) + } }) return true -- cgit 1.3.0-6-gf8a5