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()