From e868bcd276ca812feed08e01a8c4400f6c228408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 17 Dec 2019 11:28:50 +0100 Subject: Assembly : taint must taint itself and the children --- core/src/ch/asynk/gdx/boardgame/ui/Assembly.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java b/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java index b2b1e28..7cc92b8 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java @@ -47,6 +47,7 @@ public abstract class Assembly extends Element @Override public void taint() { + tainted = true; children.forEach( c -> c.taint() ); } -- cgit v1.1-2-g2b99