summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-17 17:33:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-17 17:33:52 +0200
commite46565deab0f725af547096c7eac8e3cccd5b72a (patch)
treea7c8ec3ed483ed2785ceedfec0cb4febb3abcf27
parentcdc1902b681c3b3d4b0f48bd77948db8907c9dd1 (diff)
downloadRustAndDust-e46565deab0f725af547096c7eac8e3cccd5b72a.zip
RustAndDust-e46565deab0f725af547096c7eac8e3cccd5b72a.tar.gz
LabelImaget: set this as parent of label
-rw-r--r--core/src/ch/asynk/rustanddust/ui/LabelImage.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/ui/LabelImage.java b/core/src/ch/asynk/rustanddust/ui/LabelImage.java
index 0fb6ecb..d730d91 100644
--- a/core/src/ch/asynk/rustanddust/ui/LabelImage.java
+++ b/core/src/ch/asynk/rustanddust/ui/LabelImage.java
@@ -23,6 +23,7 @@ public class LabelImage extends Bg
{
super(region);
this.label = new Label(font, padding, position);
+ this.label.setParent(this);
}
@Override