use raw coordinates for focus circle

This commit is contained in:
darthpaul 2022-12-01 14:29:39 +00:00
parent 790d470da7
commit 5c07521521
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class CameraXPreview(
.disableAutoCancel()
.build()
camera?.cameraControl?.startFocusAndMetering(focusMeteringAction)
listener.onFocusCamera(xPos, yPos)
listener.onFocusCamera(event.rawX, event.rawY)
true
} ?: false
}