summaryrefslogtreecommitdiffstats
path: root/test/src/ch/asynk/gdx
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/ch/asynk/gdx')
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/UiScreen.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
index ef153aa..58ad764 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
@@ -222,12 +222,10 @@ class MyList extends Patch
return scrollable.drag(x, y, dx, dy);
}
- @Override public void draw(Batch batch)
+ @Override public void drawReal(Batch batch)
{
- if (!visible) return;
- if (dirty) computeGeometry();
- super.draw(batch);
- title.draw(batch);
+ super.drawReal(batch);
+ title.drawReal(batch);
scrollable.draw(batch);
}