]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed a little issue in Chrome, Safari
authorRichard Worth <rdworth@gmail.com>
Wed, 2 Sep 2009 19:30:46 +0000 (19:30 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 2 Sep 2009 19:30:46 +0000 (19:30 +0000)
demos/effect/easing.html

index 6640e54d2834b6dcc59dbeb353e63709840f0d30..1bc9d8c8399c5bc5fb525835e8c6ed692e7fc1d8 100644 (file)
@@ -60,8 +60,9 @@
                        ctx.stroke();
                        
                        ctx.strokeStyle = "white";
-                       ctx.lineWidth = 2;
                        ctx.beginPath();
+                       ctx.lineWidth = 2;
+                       ctx.moveTo(width * 0.1, drawHeight);
                        $.each(new Array(width), function(position) {
                                var val = impl(0, position, 0, 1, height);
                                if (/linear|jswing/.test(name)) val = position / width;