diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-17 17:32:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-17 17:32:59 +0200 |
commit | fd9084383d54cce1c51e4f3048c14964d11dc705 (patch) | |
tree | 986c70d40377f3659fcd14e5a1676c2e5d1b4d1d /core | |
parent | dedfff66f917398a809afdfb609d0dbc8e7aa0b6 (diff) | |
download | RustAndDust-fd9084383d54cce1c51e4f3048c14964d11dc705.zip RustAndDust-fd9084383d54cce1c51e4f3048c14964d11dc705.tar.gz |
Widget: setPosition(Rectangle) calls setPosition(float, float, float, float)
Diffstat (limited to 'core')
-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) |