timeviewer
This commit is contained in:
parent
94dd7990ba
commit
4cfc74998f
@ -204,8 +204,10 @@ Torque.modules.layer = function (torque) {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
advance:function () {
|
advance:function () {
|
||||||
if (this._current < this.end) {
|
if (this._current + this._step < this.end) {
|
||||||
this._current = this._current + this._step;
|
this._current = this._current + this._step;
|
||||||
|
// } else if (this._current < this.end) {
|
||||||
|
// this._current = this.end;
|
||||||
} else {
|
} else {
|
||||||
this._current = this.start;
|
this._current = this.start;
|
||||||
}
|
}
|
||||||
@ -216,7 +218,7 @@ Torque.modules.layer = function (torque) {
|
|||||||
if (this._current < this.end) {
|
if (this._current < this.end) {
|
||||||
this._current = this._current + this._step
|
this._current = this._current + this._step
|
||||||
if (this.end < this._current) {
|
if (this.end < this._current) {
|
||||||
pause = 2500;
|
pause = 500;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this._current = this.start;
|
this._current = this.start;
|
||||||
|
Loading…
Reference in New Issue
Block a user