From 98917fe64426750986bbb5fb8d4d52634e3d4dc0 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Sun, 1 Apr 2012 01:21:39 -0700 Subject: [PATCH] transformed the layer in the star pixel detection functional test to make sure parent transforms don't break the pixel detection --- tests/js/functionalTests.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/js/functionalTests.js b/tests/js/functionalTests.js index b1315cb4..c2822ab3 100644 --- a/tests/js/functionalTests.js +++ b/tests/js/functionalTests.js @@ -561,7 +561,10 @@ Test.prototype.tests = { width: 578, height: 200 }); - var layer = new Kinetic.Layer(); + + var layer = new Kinetic.Layer({ + rotationDeg: 20 + }); var star = new Kinetic.Star({ x: 200, y: 100,