Skip to content

Commit

Permalink
Fixed issue with setting deltas
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenry committed Oct 11, 2016
1 parent 02c543f commit 8b2047c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 8b2047c

Please sign in to comment.