[seed: 6/7] Some more tweaks to the canvas tests



commit a041b37d244543f8e12de931c6d7f03b7a7564f8
Author: Robert Carr <racarr mireia (none)>
Date:   Wed Apr 15 01:58:11 2009 -0400

    Some more tweaks to the canvas tests
---
 modules/canvas/run-tests.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/canvas/run-tests.js b/modules/canvas/run-tests.js
index 9a0c47a..829568d 100755
--- a/modules/canvas/run-tests.js
+++ b/modules/canvas/run-tests.js
@@ -386,13 +386,12 @@ var compositeTypes = [
 	ctx.fillRect(70*i,70*j,40,40);
 
 	// set composite property
-//	Seed.print(compositeTypes[i*4+j])
 	ctx.globalCompositeOperation = compositeTypes[i*4+j];
 
 	// draw circle
 	ctx.fillStyle = "#f30";
 	ctx.beginPath();
-	ctx.arc(30+70*i,30+70*j,17,0,Math.PI*2,true);
+	ctx.arc(70*i,70*j,17,0,Math.PI*2,true);
 	ctx.fill();
 	ctx.restore();
       }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]