From 9b6b8257545b090e4bb4fd90c18369b32813c7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 4 Jan 2016 12:29:58 +0100 Subject: MenuScreen: set label just at the left of from point --- core/src/ch/asynk/rustanddust/screens/MenuScreen.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java index 3e0c77d..d7e861e 100644 --- a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java +++ b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java @@ -180,6 +180,7 @@ public class MenuScreen implements Screen for (int i = 1; i < (n - 1); i++) drawCentered(batch, move, xPath[i], yPath[i]); drawCentered(batch, unit, (int) (x + dx), (int) (y + dy)); + versionLabel.draw(batch); batch.end(); batch.setProjectionMatrix(camera.uiCombined()); @@ -188,7 +189,6 @@ public class MenuScreen implements Screen playMenu.draw(batch); optionsMenu.draw(batch); tutorialsMenu.draw(batch); - versionLabel.draw(batch); batch.end(); } @@ -212,7 +212,7 @@ public class MenuScreen implements Screen setCenteredPosition(usFlag, xPath[0], yPath[0]); setCenteredPosition(geFlag, xPath[n - 1], yPath[n - 1]); - versionLabel.setPosition(20, 10); + versionLabel.setPosition(xPath[0] - 190, yPath[0]); mainMenu.setPosition(); playMenu.setPosition(); optionsMenu.setPosition(); -- cgit v1.1-2-g2b99