[Mobile] Gestures

Removed plot.html mct-pinch reference
because it was not being used. Also
adjusted MCTPlot comment.
This commit is contained in:
Shivam Dave 2015-09-03 09:21:10 -07:00
parent 49213f550f
commit 7c110ee8af
2 changed files with 2 additions and 3 deletions

View File

@ -417,7 +417,7 @@ define(
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;
}

View File

@ -24,8 +24,7 @@
<div class="gl-plot"
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
ng-repeat="subplot in plot.getSubPlots()"
mct-pinch="handlePinch(dimensions, prevDimensions, event, eventPrev, subplot)">
ng-repeat="subplot in plot.getSubPlots()">
<!-- mct-pan="handlePan(position)">-->
<div class="gl-plot-legend">
<!-- ng-class is temporarily hard-coded in next element -->