From a133a77510762ea85d28f8fe7893ea90cef6672b Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 31 Mar 2019 03:11:14 +0200 Subject: [PATCH] Don't flip the board based on "player name" when toggling analysis. Automatic board flip based on "player name" is only supposed to happen when loading a new game or similar. If you for some reason want to have the board flipped compared to the "player name" orientation, it is annoying that the board flips back every time you toggle analysis mode. --- DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java b/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java index c59fca1..c0233ba 100644 --- a/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java +++ b/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java @@ -374,7 +374,7 @@ public class DroidFish extends Activity gameModeType = GameMode.ANALYSIS; } newGameMode(gameModeType); - setBoardFlip(true); + setBoardFlip(false); } }); addAction(new UIAction() {