diff --git a/app/src/main/java/no/naiv/tiltshift/effect/TiltShiftRenderer.kt b/app/src/main/java/no/naiv/tiltshift/effect/TiltShiftRenderer.kt index f7f247e..e8ff4bd 100644 --- a/app/src/main/java/no/naiv/tiltshift/effect/TiltShiftRenderer.kt +++ b/app/src/main/java/no/naiv/tiltshift/effect/TiltShiftRenderer.kt @@ -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) { diff --git a/version.properties b/version.properties index 6ca2659..34449a3 100644 --- a/version.properties +++ b/version.properties @@ -1,4 +1,4 @@ versionMajor=1 versionMinor=1 -versionPatch=11 -versionCode=13 +versionPatch=9 +versionCode=11