mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Do not keep initial elapsed time
It is not used anymore later, so no need to keep it.
This commit is contained in:
3
clapper_src/controls.js
vendored
3
clapper_src/controls.js
vendored
@@ -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,
|
||||
|
Reference in New Issue
Block a user