summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-24 10:24:07 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-24 10:24:07 +0100
commitd8bef160e1e30ab2a6769aec75e5ff8944ec1e48 (patch)
treef61f5458d138385341e91388de50425e1c27dd48
parent11229ba16de518d0a4f80dfc4a57eb167840a344 (diff)
downloadRustAndDust-d8bef160e1e30ab2a6769aec75e5ff8944ec1e48.zip
RustAndDust-d8bef160e1e30ab2a6769aec75e5ff8944ec1e48.tar.gz
MenuCamera: disable hudCorrection, it breaks PlayMenu sizing
-rw-r--r--core/src/ch/asynk/rustanddust/screens/MenuCamera.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/screens/MenuCamera.java b/core/src/ch/asynk/rustanddust/screens/MenuCamera.java
index 2f4217c..4f7a03a 100644
--- a/core/src/ch/asynk/rustanddust/screens/MenuCamera.java
+++ b/core/src/ch/asynk/rustanddust/screens/MenuCamera.java
@@ -53,7 +53,8 @@ public class MenuCamera extends OrthographicCamera
window.width = screenWidth;
window.height = screenHeight;
- hudLeft = hudCorrection;
+ // hudLeft = hudCorrection;
+ hudLeft = 0;
hudBottom = (int) (hudLeft / aspect);
HdpiUtils.glViewport((int)window.x, (int)window.y, (int)window.width, (int)window.height);