From dd4471c7d217725f8dcf961db92ea04777180b4a Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Mon, 11 May 2026 15:57:32 +0200 Subject: [PATCH] Revert "Flip rotation-correction angles for both landscape orientations" This reverts commit 1cd2b0a57c7ad2afa3a555d8dfe549268c1896e8. --- .../main/java/no/naiv/tiltshift/effect/TiltShiftRenderer.kt | 4 ++-- version.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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