From 95ff9f4eefad2c194ff0abbc7b8bc373b9cc1fa6 Mon Sep 17 00:00:00 2001 From: RaJansuMan Date: Mon, 3 Mar 2025 20:33:47 +0530 Subject: [PATCH] rotation view --- .../main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt index a60f8b805..7afb9b205 100644 --- a/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt @@ -837,6 +837,7 @@ class PhotoFragment : ViewPagerFragment() { binding.subsamplingView.rotateBy(degrees) } else { mCurrentRotationDegrees = (mCurrentRotationDegrees + degrees) % 360 + binding.gesturesView.controller.state.rotateTo(mCurrentRotationDegrees.toFloat(), 0f, 0f) mLoadZoomableViewHandler.removeCallbacksAndMessages(null) mIsSubsamplingVisible = false loadBitmap()