From c8b02d355f39c3faea30672e6da1781f7ed5a385 Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Thu, 3 Sep 2015 09:51:12 -0700 Subject: [PATCH] [Mobile] Comments Clarifies what the ratio is for the distance. --- platform/features/plot-reborn/src/directives/MCTPlot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/features/plot-reborn/src/directives/MCTPlot.js b/platform/features/plot-reborn/src/directives/MCTPlot.js index 2b493f71ae..763993f24d 100644 --- a/platform/features/plot-reborn/src/directives/MCTPlot.js +++ b/platform/features/plot-reborn/src/directives/MCTPlot.js @@ -370,6 +370,8 @@ define( } // Updates the viewport based on the amount of zooming (pinching) user is doing + // Pinch inwards (zoom out): distanceRatio > 1 + // Pinch outwards (zoom in): distanceRatio < 1 function updateZoom(midpoint, bounds, distance) { // Gets the current midpoint and distance ratio to be used to