From fd9084383d54cce1c51e4f3048c14964d11dc705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 17 May 2016 17:32:59 +0200 Subject: Widget: setPosition(Rectangle) calls setPosition(float, float, float, float) --- core/src/ch/asynk/rustanddust/ui/Widget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1-2-g2b99