mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Do not show "Ends at" text when player is stopped
This commit is contained in:
@@ -310,6 +310,9 @@ var Widget = GObject.registerClass({
|
||||
break;
|
||||
}
|
||||
|
||||
let isNotStopped = (state !== GstPlayer.PlayerState.STOPPED)
|
||||
this.revealerTop.endTime.set_visible(isNotStopped);
|
||||
|
||||
if(state === GstPlayer.PlayerState.BUFFERING)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user