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 4634a7f commit ce4db88Copy full SHA for ce4db88
libraries/image-slider/src/main/java/com/trendyol/uicomponents/imageslider/CVFloatingZoomView.kt
@@ -89,6 +89,9 @@ class CVFloatingZoomView(
89
initialZoomPoint = Point(initialPoint!!.x, initialPoint!!.y)
90
leftoverZoom = 0f
91
} else if (isBusy && isInteractionStartEvent(event, motionEvent)) {
92
+ if (initialPoint == null) {
93
+ initialPoint = Point(currentCenter!!.x, currentCenter!!.y)
94
+ }
95
onFingerCountChange(event, FingerSwapState.TWO_FINGER)
96
leftoverZoom = floatingImage.scaleX - 1
97
initialDifference =
0 commit comments