diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/ui/Widget.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/ui/Widget.java b/core/src/ch/asynk/rustanddust/ui/Widget.java index 585b011..6605158 100644 --- a/core/src/ch/asynk/rustanddust/ui/Widget.java +++ b/core/src/ch/asynk/rustanddust/ui/Widget.java @@ -39,7 +39,7 @@ public abstract class Widget implements Disposable, Drawable public void setPosition(Rectangle r) { - rect.set(r.x, r.x, r.width, r.height); + setPosition(r.x, r.x, r.width, r.height); } public void setPosition(float x, float y) |