zoomimage
zoomimage copied to clipboard
Broken pan then ANIMATOR_DURATION_SCALE is set to 0 in developer options
Describe the bug
If user disabled all animations via Developer options, the pan gesture accelerations is broken. It just teleports to diferent position intead of doing it smoothly. Need to use MotionDurationScale 1f for pan gestures.
Affected platforms
- Android
Affected components
- ZoomImage
Reproduction steps
Disable animations in developer options, pan zoomed image hardly.
Gesture animations are implemented using system APIs. You actively disabled all animations, and the system API followed this operation, which should be correct.