Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Aperture: Use smooth zoom for logical camera switch button
Browse files Browse the repository at this point in the history
Change-Id: Ief7dfbb47769a08521a1ea43ced02e5e7040d435
  • Loading branch information
SebaUbuntu authored and jro1979oliver committed Mar 8, 2024
1 parent de9c1de commit 1a68ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/lineageos/aperture/CameraActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ open class CameraActivity : AppCompatActivity() {
}
}
lensSelectorLayout.onZoomRatioChangeCallback = {
cameraController.setZoomRatio(it)
smoothZoom(it)
}
lensSelectorLayout.onResetZoomRatioCallback = {
resetZoom()
Expand Down

0 comments on commit 1a68ce0

Please sign in to comment.