From af7954c5a14cee1ac09c1c825460d1a3f59997c1 Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Fri, 5 Aug 2016 11:24:51 -0700 Subject: [PATCH] Trigger digests when bounds are set --- .../conductor/src/ui/TimeConductorController.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/features/conductor-v2/conductor/src/ui/TimeConductorController.js b/platform/features/conductor-v2/conductor/src/ui/TimeConductorController.js index 23d8d648017..7f19187d618 100644 --- a/platform/features/conductor-v2/conductor/src/ui/TimeConductorController.js +++ b/platform/features/conductor-v2/conductor/src/ui/TimeConductorController.js @@ -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)); + } }; /**