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