diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-18 10:27:18 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-18 10:27:18 +0100 |
commit | b5dee2dc2d6efd124d2e26a3f1c96d28e55329e3 (patch) | |
tree | b86c75b58e9ac65772da198e7f89a424293887f2 /test/src/ch/asynk/gdx/boardgame | |
parent | dd535dc97129dbac3e0521826343e5002f43777b (diff) | |
download | gdx-boardgame-b5dee2dc2d6efd124d2e26a3f1c96d28e55329e3.zip gdx-boardgame-b5dee2dc2d6efd124d2e26a3f1c96d28e55329e3.tar.gz |
ui.List : follow taint() computeGeometry() logic
Diffstat (limited to 'test/src/ch/asynk/gdx/boardgame')
-rw-r--r-- | test/src/ch/asynk/gdx/boardgame/test/UiScreen.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java index a0167dc..ec06a3f 100644 --- a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java +++ b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java @@ -188,6 +188,7 @@ class MyList extends Patch // update dimensions title.computeGeometry(); + list.computeGeometry(); rect.width = title.getWidth() + pp; rect.height = title.getHeight() + pp + list.getHeight() + 15; if ((list.getWidth() + pp) > rect.width) rect.width = list.getWidth() + pp; |