mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +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.showHours = false;
|
||||||
this.durationFormatted = '00:00';
|
this.durationFormatted = '00:00';
|
||||||
this.elapsedInitial = '00:00/00:00';
|
|
||||||
this.buttonsArr = [];
|
this.buttonsArr = [];
|
||||||
|
|
||||||
this._addTogglePlayButton();
|
this._addTogglePlayButton();
|
||||||
|
this.elapsedButton = this.addLabelButton('00:00/00:00');
|
||||||
this._addPositionScale();
|
this._addPositionScale();
|
||||||
this.visualizationsButton = this.addPopoverButton(
|
this.visualizationsButton = this.addPopoverButton(
|
||||||
'display-projector-symbolic'
|
'display-projector-symbolic'
|
||||||
@@ -265,7 +265,6 @@ class ClapperControls extends Gtk.Box
|
|||||||
|
|
||||||
_addPositionScale()
|
_addPositionScale()
|
||||||
{
|
{
|
||||||
this.elapsedButton = this.addLabelButton(this.elapsedInitial);
|
|
||||||
this.positionScale = new Gtk.Scale({
|
this.positionScale = new Gtk.Scale({
|
||||||
orientation: Gtk.Orientation.HORIZONTAL,
|
orientation: Gtk.Orientation.HORIZONTAL,
|
||||||
value_pos: Gtk.PositionType.LEFT,
|
value_pos: Gtk.PositionType.LEFT,
|
||||||
|
Reference in New Issue
Block a user