From d8bef160e1e30ab2a6769aec75e5ff8944ec1e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 24 Feb 2016 10:24:07 +0100 Subject: MenuCamera: disable hudCorrection, it breaks PlayMenu sizing --- core/src/ch/asynk/rustanddust/screens/MenuCamera.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.1-2-g2b99