We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09a9be commit 885063eCopy full SHA for 885063e
src/com/qozix/layouts/ZoomPanLayout.java
@@ -778,7 +778,7 @@ public boolean onTouchEvent( MotionEvent event ) {
778
if ( determineIfQualifiedDoubleTap() ) {
779
saveHistoricalScale();
780
saveDoubleTapHistory();
781
- double destination = Math.min( 1, scale * 2 );
+ double destination = Math.min( maxScale, scale * 2 );
782
smoothScaleTo( destination, ZOOM_ANIMATION_DURATION );
783
for ( GestureListener listener : gestureListeners ) {
784
listener.onDoubleTap( actualPoint );
0 commit comments