From 2bef72fd95f68eaa7a3dfe20678ae58405abd874 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Thu, 3 Sep 2020 13:02:29 +0200 Subject: [PATCH] Change pause icon to play on stopped video --- clapper_src/interface.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clapper_src/interface.js b/clapper_src/interface.js index 3ed94bec..a198bc5c 100644 --- a/clapper_src/interface.js +++ b/clapper_src/interface.js @@ -54,11 +54,10 @@ class ClapperInterface extends Gtk.Grid _onPlayerStateChanged(player, state) { switch(state) { - case GstPlayer.PlayerState.STOPPED: - break; case GstPlayer.PlayerState.BUFFERING: break; case GstPlayer.PlayerState.PAUSED: + case GstPlayer.PlayerState.STOPPED: this.controls.togglePlayButton.image = this.controls.playImage; break; case GstPlayer.PlayerState.PLAYING: