PhotoView icon indicating copy to clipboard operation
PhotoView copied to clipboard

Zoom doesn't work with double-tapes

Open JackDeusStone opened this issue 7 years ago • 2 comments

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.

JackDeusStone avatar Dec 11 '18 11:12 JackDeusStone

Has this problem been solved?

youlongsam avatar Aug 21 '19 10:08 youlongsam

Has this problem been solved?

houdaichang avatar Feb 01 '21 06:02 houdaichang