summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java b/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java
index 3c198e0..23887f6 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java
@@ -51,8 +51,8 @@ public class MenuScreen extends AbstractScreen
private void drawCorners(SpriteBatch batch)
{
- float right = root.getInnerX() + root.getInnerWidth() - corner.getWidth();
- float top = root.getInnerY() + root.getInnerHeight() - corner.getHeight();
+ float right = root.getInnerRight() - corner.getWidth();
+ float top = root.getInnerTop() - corner.getHeight();
corner.setRotation(0);
corner.setPosition(root.getInnerX(), top);
corner.draw(batch);