diff options
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/ui/Element.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Element.java b/core/src/ch/asynk/gdx/boardgame/ui/Element.java index 63670ac..0a44eef 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Element.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Element.java @@ -212,7 +212,7 @@ public class Element implements Drawable, Paddable, Positionable, Touchable rect.width = parent.getInnerWidth(); } if (sizing.fillHeight()) { - rect.width = parent.getInnerHeight(); + rect.height = parent.getInnerHeight(); } } // it is up to the subclass to implement the expand logic |