From 79ad0da316c4295ede614f81817866762edd559f Mon Sep 17 00:00:00 2001 From: FurWaz <fur.waz06@gmail.com> Date: Tue, 13 Dec 2022 13:20:21 +0100 Subject: [PATCH] Woops, better if we turn the correct way --- .../app/src/main/java/com/furwaz/roomview/ZoneView.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/app/src/main/java/com/furwaz/roomview/ZoneView.java b/Sources/app/src/main/java/com/furwaz/roomview/ZoneView.java index 8c58817..79c3177 100644 --- a/Sources/app/src/main/java/com/furwaz/roomview/ZoneView.java +++ b/Sources/app/src/main/java/com/furwaz/roomview/ZoneView.java @@ -58,8 +58,8 @@ public class ZoneView extends AppCompatActivity { return getResources().getString(stringID); } - // return the left orientation from the current one - protected Orientation getLeft(Orientation o) { + // return the right orientation from the current one + protected Orientation getRight(Orientation o) { switch (orient) { case EST: return Orientation.SOUTH; case NORTH: return Orientation.EST; @@ -69,8 +69,8 @@ public class ZoneView extends AppCompatActivity { return Orientation.NORTH; } - // return the right orientation from the current one - protected Orientation getRight(Orientation o) { + // return the left orientation from the current one + protected Orientation getLeft(Orientation o) { switch (orient) { case EST: return Orientation.NORTH; case NORTH: return Orientation.WEST; -- GitLab