diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-17 16:47:34 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-17 16:47:34 +0100 |
commit | b622f772ad2e30b1ad051e8d3b36cc991dd0053c (patch) | |
tree | b1f5557644139fac1f07cad50a810d00b8515eac /core/src/ch/asynk | |
parent | d26a201fd5214297defa4487cda8bb757153f520 (diff) | |
download | gdx-boardgame-b622f772ad2e30b1ad051e8d3b36cc991dd0053c.zip gdx-boardgame-b622f772ad2e30b1ad051e8d3b36cc991dd0053c.tar.gz |
Menu : fix top position after bf94e07
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/ui/Menu.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Menu.java b/core/src/ch/asynk/gdx/boardgame/ui/Menu.java index 93309ab..bc4e609 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Menu.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Menu.java @@ -84,7 +84,7 @@ public class Menu extends Patch // compute position super.computeGeometry(); - float y = - title.getHeight() - padding; + float y = getInnerHeight() - title.getHeight(); title.setPosition(0, y); y -= titleSpacing; for (Label l : entries) { |