mirror of
https://github.com/nasa/openmct.git
synced 2025-06-22 09:08:43 +00:00
[Mobile] Gestures
Removed plot.html mct-pinch reference because it was not being used. Also adjusted MCTPlot comment.
This commit is contained in:
@ -417,7 +417,7 @@ define(
|
|||||||
updateZoom(touch.midpoint, touch.bounds, touch.distance);
|
updateZoom(touch.midpoint, touch.bounds, touch.distance);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sets previous touch distance to current touch.distance
|
// Sets previous touch distance to current touch.distance (for next touch event)
|
||||||
prevTouchDistance = touch.distance;
|
prevTouchDistance = touch.distance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,8 +24,7 @@
|
|||||||
|
|
||||||
<div class="gl-plot"
|
<div class="gl-plot"
|
||||||
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
|
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
|
||||||
ng-repeat="subplot in plot.getSubPlots()"
|
ng-repeat="subplot in plot.getSubPlots()">
|
||||||
mct-pinch="handlePinch(dimensions, prevDimensions, event, eventPrev, subplot)">
|
|
||||||
<!-- mct-pan="handlePan(position)">-->
|
<!-- mct-pan="handlePan(position)">-->
|
||||||
<div class="gl-plot-legend">
|
<div class="gl-plot-legend">
|
||||||
<!-- ng-class is temporarily hard-coded in next element -->
|
<!-- ng-class is temporarily hard-coded in next element -->
|
||||||
|
Reference in New Issue
Block a user