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