mirror of
https://github.com/nasa/openmct.git
synced 2025-06-06 17:31:40 +00:00
[Mobile] Clean Up
Removed test PlotController functions which are unused.
This commit is contained in:
parent
c8b02d355f
commit
db1b76413c
@ -171,14 +171,6 @@ define(
|
|||||||
handle = undefined;
|
handle = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function doPinch(dimensions, dimensionsPrev, event, eventPrev, currSubplot) {
|
|
||||||
currSubplot.pinchZoomTest(dimensions, dimensionsPrev, event, eventPrev);
|
|
||||||
}
|
|
||||||
|
|
||||||
function doPan(position) {
|
|
||||||
console.log("PANP: " + position);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Subscribe to telemetry when a domain object becomes available
|
// Subscribe to telemetry when a domain object becomes available
|
||||||
$scope.$watch('domainObject', subscribe);
|
$scope.$watch('domainObject', subscribe);
|
||||||
@ -186,9 +178,6 @@ define(
|
|||||||
// Unsubscribe when the plot is destroyed
|
// Unsubscribe when the plot is destroyed
|
||||||
$scope.$on("$destroy", releaseSubscription);
|
$scope.$on("$destroy", releaseSubscription);
|
||||||
|
|
||||||
$scope.handlePinch = doPinch;
|
|
||||||
$scope.handlePan = doPan;
|
|
||||||
|
|
||||||
// Create a throttled update function
|
// Create a throttled update function
|
||||||
scheduleUpdate = throttle(function () {
|
scheduleUpdate = throttle(function () {
|
||||||
modeOptions.getModeHandler().getSubPlots()
|
modeOptions.getModeHandler().getSubPlots()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user