[Time Conductor] Consistently throttle broadcast

Consistently throttle broadcast of bounds to minimize redundant
broadcasts, nasa/openmctweb#229
This commit is contained in:
Victor Woeltjen 2015-10-30 14:56:52 -07:00
parent 5706fa4567
commit e4a14b7603

View File

@ -103,7 +103,7 @@ define(
var newDomain = conductor.domain(value);
conductorScope.parameters.format =
newDomain && newDomain.format;
repScope.$broadcast('telemetry:display:bounds', bounds());
broadcastBounds();
}
// telemetry domain metadata -> option for a select control
@ -141,7 +141,7 @@ define(
conductorScope
.$watch('ngModel.domain', updateDomain);
repScope.$on('telemetry:view', updateConductorInner);
repScope.$on('telemetry:view', broadcastBounds);
};
ConductorRepresenter.prototype.conductorScope = function (s) {