Change pause icon to play on stopped video

This commit is contained in:
Rafostar
2020-09-03 13:02:29 +02:00
parent 28264da424
commit 2bef72fd95

View File

@@ -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: