summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-17 17:32:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-17 17:32:59 +0200
commitfd9084383d54cce1c51e4f3048c14964d11dc705 (patch)
tree986c70d40377f3659fcd14e5a1676c2e5d1b4d1d /core/src/ch/asynk/rustanddust
parentdedfff66f917398a809afdfb609d0dbc8e7aa0b6 (diff)
downloadRustAndDust-fd9084383d54cce1c51e4f3048c14964d11dc705.zip
RustAndDust-fd9084383d54cce1c51e4f3048c14964d11dc705.tar.gz
Widget: setPosition(Rectangle) calls setPosition(float, float, float, float)
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/ui/Widget.java2
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)