mirror of
https://github.com/nasa/openmct.git
synced 2025-05-12 05:23:13 +00:00
[Mobile] Comments
Clarifies what the ratio is for the distance.
This commit is contained in:
parent
7c110ee8af
commit
c8b02d355f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user