mirror of
https://github.com/nasa/openmct.git
synced 2025-03-17 17:45:47 +00:00
Fixed issue with setting deltas
This commit is contained in:
parent
02c543fddc
commit
8b2047ca32
@ -176,11 +176,12 @@ define(
|
|||||||
* @returns {TimeSystemDeltas}
|
* @returns {TimeSystemDeltas}
|
||||||
*/
|
*/
|
||||||
TimeConductorMode.prototype.deltas = function (deltas) {
|
TimeConductorMode.prototype.deltas = function (deltas) {
|
||||||
if (arguments.length !== 0 && this.metadata().key!=='fixed') {
|
if (arguments.length !== 0) {
|
||||||
var bounds = this.calculateBoundsFromDeltas(deltas);
|
var bounds = this.calculateBoundsFromDeltas(deltas);
|
||||||
|
|
||||||
this.dlts = deltas;
|
this.dlts = deltas;
|
||||||
this.conductor.bounds(bounds);
|
if (this.metadata().key!=='fixed') {
|
||||||
|
this.conductor.bounds(bounds);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return this.dlts;
|
return this.dlts;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user