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 8c58817f7b17559fdbfc5d0b79f3fbcceec4e02e..79c3177a04df3485654cde426121dab41896ee55 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;