rotation view

This commit is contained in:
RaJansuMan 2025-03-03 20:33:47 +05:30
parent 85e8838980
commit 95ff9f4eef

View file

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