summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-12-18 10:27:18 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2019-12-18 10:27:18 +0100
commitb5dee2dc2d6efd124d2e26a3f1c96d28e55329e3 (patch)
treeb86c75b58e9ac65772da198e7f89a424293887f2 /test/src
parentdd535dc97129dbac3e0521826343e5002f43777b (diff)
downloadgdx-boardgame-b5dee2dc2d6efd124d2e26a3f1c96d28e55329e3.zip
gdx-boardgame-b5dee2dc2d6efd124d2e26a3f1c96d28e55329e3.tar.gz
ui.List : follow taint() computeGeometry() logic
Diffstat (limited to 'test/src')
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/UiScreen.java1
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;