mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-03-12 14:40:08 +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)
|
binding.subsamplingView.rotateBy(degrees)
|
||||||
} else {
|
} else {
|
||||||
mCurrentRotationDegrees = (mCurrentRotationDegrees + degrees) % 360
|
mCurrentRotationDegrees = (mCurrentRotationDegrees + degrees) % 360
|
||||||
|
binding.gesturesView.controller.state.rotateTo(mCurrentRotationDegrees.toFloat(), 0f, 0f)
|
||||||
mLoadZoomableViewHandler.removeCallbacksAndMessages(null)
|
mLoadZoomableViewHandler.removeCallbacksAndMessages(null)
|
||||||
mIsSubsamplingVisible = false
|
mIsSubsamplingVisible = false
|
||||||
loadBitmap()
|
loadBitmap()
|
||||||
|
|
Loading…
Add table
Reference in a new issue