summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/ui/Widget.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/ui/Widget.java b/core/src/ch/asynk/rustanddust/ui/Widget.java
index 9460833..b33f11a 100644
--- a/core/src/ch/asynk/rustanddust/ui/Widget.java
+++ b/core/src/ch/asynk/rustanddust/ui/Widget.java
@@ -73,6 +73,7 @@ public abstract class Widget implements Disposable, Drawable
public void update()
{
float x, y;
+ if (position == Position.ABSOLUTE) return;
if (parent == null) {
x = position.getX(rect.width);
y = position.getY(rect.height);