]> source.dussan.org Git - jquery-ui.git/commitdiff
effects: demo visualising easing functions, tuning
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 23 Apr 2009 22:21:32 +0000 (22:21 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 23 Apr 2009 22:21:32 +0000 (22:21 +0000)
demos/effect/easing.html

index f5f30a28864915832ce9974dbc76a4ef53df0abf..11062f74442e27c6b33e6a42965d65beaee1e8d6 100644 (file)
@@ -33,7 +33,6 @@
                        canvas.height = 135;\r
                        var ctx = canvas.getContext("2d");\r
                        ctx.fillStyle = "black";\r
-                       ctx.strokeStyle = "white";\r
                        \r
                        ctx.beginPath();\r
                        ctx.moveTo(10, 0);\r
                        ctx.lineTo(10, 0);\r
                        ctx.fill();\r
                        \r
+                       ctx.strokeStyle = "#555";\r
                        ctx.beginPath();\r
                        ctx.moveTo(0, 100.5);\r
                        ctx.lineTo(100, 100.5);\r
                        ctx.stroke();\r
                        \r
+                       ctx.strokeStyle = "white";\r
                        ctx.lineWidth = 1.5;\r
                        ctx.beginPath();\r
                        $.each(new Array(100), function(position) {\r