You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: 🤖 Android 9.x
Sometimes with a double-tap on the view, the zoom does not work.
After downloading the library and spreading the logs, I found a place where the code behaves differently than with a successful response.
PhotoViewAttacher -> OnGestureListener onGestureListener -> onScale
if (getScale() < mMaxScale || scaleFactor < 1f) {...}
This condition does not always work with double-tapes. Zoom does not work.
However, if you double-tap again, the zoom will work.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Expected behavior
Reproduction steps
Configuration
Version: 1.x
Platform: 🤖 Android 9.x
Sometimes with a double-tap on the view, the zoom does not work.
After downloading the library and spreading the logs, I found a place where the code behaves differently than with a successful response.
PhotoViewAttacher -> OnGestureListener onGestureListener -> onScale
if (getScale() < mMaxScale || scaleFactor < 1f) {...}
This condition does not always work with double-tapes. Zoom does not work.
However, if you double-tap again, the zoom will work.
The text was updated successfully, but these errors were encountered: