mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-04-24 23:18:52 +02:00
OCD :-P
This commit is contained in:
parent
5294997eef
commit
1cecff008c
@ -532,9 +532,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun rotationFromDegrees(degrees: Float) = when (degrees) {
|
private fun rotationFromDegrees(degrees: Float) = when (degrees) {
|
||||||
90f -> ExifInterface.ORIENTATION_ROTATE_90
|
|
||||||
180f -> ExifInterface.ORIENTATION_ROTATE_180
|
|
||||||
270f -> ExifInterface.ORIENTATION_ROTATE_270
|
270f -> ExifInterface.ORIENTATION_ROTATE_270
|
||||||
|
180f -> ExifInterface.ORIENTATION_ROTATE_180
|
||||||
|
90f -> ExifInterface.ORIENTATION_ROTATE_90
|
||||||
else -> ExifInterface.ORIENTATION_NORMAL
|
else -> ExifInterface.ORIENTATION_NORMAL
|
||||||
}.toString()
|
}.toString()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user