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
|
||||
// at the same screen P after the activity has rotated.
|
||||
val angle = when (displayRotation) {
|
||||
Surface.ROTATION_90 -> 90f
|
||||
Surface.ROTATION_90 -> -90f
|
||||
Surface.ROTATION_180 -> 180f
|
||||
Surface.ROTATION_270 -> -90f
|
||||
Surface.ROTATION_270 -> 90f
|
||||
else -> 0f
|
||||
}
|
||||
if (angle == 0f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue