Revert "Flip rotation-correction angles for both landscape orientations"
This reverts commit 1cd2b0a57c.
This commit is contained in:
parent
1cd2b0a57c
commit
dd4471c7d2
2 changed files with 4 additions and 4 deletions
|
|
@ -219,9 +219,9 @@ class TiltShiftRenderer(
|
||||||
// -activityAngle puts the world-aligned point originally at screen P
|
// -activityAngle puts the world-aligned point originally at screen P
|
||||||
// at the same screen P after the activity has rotated.
|
// at the same screen P after the activity has rotated.
|
||||||
val angle = when (displayRotation) {
|
val angle = when (displayRotation) {
|
||||||
Surface.ROTATION_90 -> 90f
|
Surface.ROTATION_90 -> -90f
|
||||||
Surface.ROTATION_180 -> 180f
|
Surface.ROTATION_180 -> 180f
|
||||||
Surface.ROTATION_270 -> -90f
|
Surface.ROTATION_270 -> 90f
|
||||||
else -> 0f
|
else -> 0f
|
||||||
}
|
}
|
||||||
if (angle == 0f) {
|
if (angle == 0f) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
versionMajor=1
|
versionMajor=1
|
||||||
versionMinor=1
|
versionMinor=1
|
||||||
versionPatch=11
|
versionPatch=9
|
||||||
versionCode=13
|
versionCode=11
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue