Index: samples/spirodraw/Spirodraw.dart |
diff --git a/samples/spirodraw/Spirodraw.dart b/samples/spirodraw/Spirodraw.dart |
index 6ca38eaac4da4115d960494c1bdb97ff9023b7c4..5eb821f998d48477f092a90da5658ba2588363e3 100644 |
--- a/samples/spirodraw/Spirodraw.dart |
+++ b/samples/spirodraw/Spirodraw.dart |
@@ -164,7 +164,7 @@ class Spirodraw { |
drawFrame(rad); |
int nTurns = (rad / PI2).toInt(); |
numTurns.text = '${nTurns}/$maxTurns'; |
- window.webkitRequestAnimationFrame(animate, frontCanvas); |
+ window.webkitRequestAnimationFrame(animate); |
} else { |
stop(); |
} |
@@ -174,7 +174,7 @@ class Spirodraw { |
refresh(); |
rad = 0.0; |
run = true; |
- window.webkitRequestAnimationFrame(animate, frontCanvas); |
+ window.webkitRequestAnimationFrame(animate); |
} |
int calcTurns() { |