aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-04-23 22:21:32 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-04-23 22:21:32 +0000
commit35186a9a39815543ffca5a53dff710f3821aa848 (patch)
tree3b15ab92805aa06d425dc9329b9565e1a41eccf7 /demos/effect
parent67830bde803020329a01b9eca1701ffb6d0b38be (diff)
downloadjquery-ui-35186a9a39815543ffca5a53dff710f3821aa848.tar.gz
jquery-ui-35186a9a39815543ffca5a53dff710f3821aa848.zip
effects: demo visualising easing functions, tuning
Diffstat (limited to 'demos/effect')
-rw-r--r--demos/effect/easing.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/effect/easing.html b/demos/effect/easing.html
index f5f30a288..11062f744 100644
--- a/demos/effect/easing.html
+++ b/demos/effect/easing.html
@@ -33,7 +33,6 @@
canvas.height = 135;
var ctx = canvas.getContext("2d");
ctx.fillStyle = "black";
- ctx.strokeStyle = "white";
ctx.beginPath();
ctx.moveTo(10, 0);
@@ -46,11 +45,13 @@
ctx.lineTo(10, 0);
ctx.fill();
+ ctx.strokeStyle = "#555";
ctx.beginPath();
ctx.moveTo(0, 100.5);
ctx.lineTo(100, 100.5);
ctx.stroke();
+ ctx.strokeStyle = "white";
ctx.lineWidth = 1.5;
ctx.beginPath();
$.each(new Array(100), function(position) {