mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-03-11 14:10:06 +01:00
rotation view
This commit is contained in:
parent
85e8838980
commit
95ff9f4eef
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue