mirror of
https://github.com/nasa/openmct.git
synced 2025-04-20 17:11:11 +00:00
[Time Conductor] Consistently throttle broadcast
Consistently throttle broadcast of bounds to minimize redundant broadcasts, nasa/openmctweb#229
This commit is contained in:
parent
5706fa4567
commit
e4a14b7603
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user