diff options
Diffstat (limited to 'core/src')
-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 9885b59..bf747b5 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Element.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Element.java @@ -167,7 +167,7 @@ public abstract class Element implements Drawable, Paddable, Positionable, Touch 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 |