From 1a68ce0ff88b083daf8c7ddc7bd3c1cd2a4dce69 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Sat, 2 Mar 2024 00:52:02 +0100 Subject: [PATCH] Aperture: Use smooth zoom for logical camera switch button Change-Id: Ief7dfbb47769a08521a1ea43ced02e5e7040d435 --- app/src/main/java/org/lineageos/aperture/CameraActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/lineageos/aperture/CameraActivity.kt b/app/src/main/java/org/lineageos/aperture/CameraActivity.kt index 6c90bed..b3ae21c 100644 --- a/app/src/main/java/org/lineageos/aperture/CameraActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/CameraActivity.kt @@ -836,7 +836,7 @@ open class CameraActivity : AppCompatActivity() { } } lensSelectorLayout.onZoomRatioChangeCallback = { - cameraController.setZoomRatio(it) + smoothZoom(it) } lensSelectorLayout.onResetZoomRatioCallback = { resetZoom()