Do not keep initial elapsed time

It is not used anymore later, so no need to keep it.
This commit is contained in:
Rafostar
2020-11-30 23:05:56 +01:00
parent f08d40c1ff
commit f4da4dec71

View File

@@ -30,10 +30,10 @@ class ClapperControls extends Gtk.Box
this.showHours = false;
this.durationFormatted = '00:00';
this.elapsedInitial = '00:00/00:00';
this.buttonsArr = [];
this._addTogglePlayButton();
this.elapsedButton = this.addLabelButton('00:00/00:00');
this._addPositionScale();
this.visualizationsButton = this.addPopoverButton(
'display-projector-symbolic'
@@ -265,7 +265,6 @@ class ClapperControls extends Gtk.Box
_addPositionScale()
{
this.elapsedButton = this.addLabelButton(this.elapsedInitial);
this.positionScale = new Gtk.Scale({
orientation: Gtk.Orientation.HORIZONTAL,
value_pos: Gtk.PositionType.LEFT,