Trigger digests when bounds are set

This commit is contained in:
Pete Richards 2016-08-05 11:24:51 -07:00
parent 0e0ad64830
commit af7954c5a1

View File

@ -145,6 +145,13 @@ define(
TimeConductorController.prototype.setBounds = function (bounds) {
this.$scope.formModel.start = bounds.start;
this.$scope.formModel.end = bounds.end;
if (!this.pendingUpdate) {
this.pendingUpdate = true;
requestAnimationFrame(function () {
this.pendingUpdate = false;
this.$scope.$digest();
}.bind(this));
}
};
/**