[android] - fine tune fling gesture (#9532)
This commit is contained in:
@@ -369,7 +369,7 @@ final class MapGestureDetector {
|
||||
|
||||
// tilt results in a bigger translation, limiting input for #5281
|
||||
double tilt = transform.getTilt();
|
||||
double tiltFactor = 1 + ((tilt != 0) ? (tilt / 10) : 0); /* 1 -> 7 */
|
||||
double tiltFactor = 1.5 + ((tilt != 0) ? (tilt / 10) : 0);
|
||||
double offsetX = velocityX / tiltFactor / screenDensity;
|
||||
double offsetY = velocityY / tiltFactor / screenDensity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user