We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 182d698 commit 1aa3b6eCopy full SHA for 1aa3b6e
1 file changed
image/src/main/java/com/smarttoolfactory/image/zoom/ZoomModifier.kt
@@ -8,7 +8,6 @@ import androidx.compose.ui.draw.clipToBounds
8
import androidx.compose.ui.graphics.graphicsLayer
9
import androidx.compose.ui.input.pointer.pointerInput
10
import com.smarttoolfactory.gesture.detectTransformGestures
11
-import com.smarttoolfactory.gesture.pointerMotionEvents
12
import com.smarttoolfactory.image.util.calculateZoom
13
import com.smarttoolfactory.image.util.update
14
import kotlinx.coroutines.launch
@@ -43,7 +42,6 @@ fun Modifier.zoom(
43
42
factory = {
44
val coroutineScope = rememberCoroutineScope()
45
46
- Modifier.pointerMotionEvents()
47
// Current Zoom level
48
var zoomLevel by remember { mutableStateOf(ZoomLevel.Min) }
49
0 commit comments