mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 21:28:12 +00:00
[Time Conductor] Adding tests and fixing failing ones. #933
This commit is contained in:
@ -239,7 +239,7 @@ define(
|
||||
setBasePanZoom(bounds);
|
||||
requery();
|
||||
}
|
||||
self.updateStatus($scope.domainObject, follow);
|
||||
self.setUnsynchedStatus($scope.domainObject, follow && self.isZoomed());
|
||||
}
|
||||
|
||||
this.modeOptions = new PlotModeOptions([], subPlotFactory);
|
||||
@ -370,9 +370,9 @@ define(
|
||||
return this.pending;
|
||||
};
|
||||
|
||||
PlotController.prototype.updateStatus = function (domainObject, follow) {
|
||||
PlotController.prototype.setUnsynchedStatus = function (domainObject, status) {
|
||||
if (domainObject.hasCapability('status')) {
|
||||
domainObject.getCapability('status').set('timeconductor-unsynced', follow && this.isZoomed());
|
||||
domainObject.getCapability('status').set('timeconductor-unsynced', status);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user