From f32bf40d23957462870e65e528bcde0cba6305fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Fri, 1 Nov 2013 13:57:46 +0100 Subject: [PATCH] with should return itself for chainning --- .../gwt/query/client/plugins/effects/PropertiesAnimation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java index 17f77ccf..ba60a142 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java @@ -118,8 +118,9 @@ public class PropertiesAnimation extends GQAnimation { EasingCurve(double x1, double y1, double x2, double y2) { with(x1, y1, x2, y2); } - public void with(double x1, double y1, double x2, double y2) { + public Easing with(double x1, double y1, double x2, double y2) { c = new Bezier(x1, y1, x2, y2); + return this; } public double interpolate(double progress) { return c.f(progress); -- 2.39.5