commit:071769a909b6fdecea56c6badcea7a92603ced7d
author:Chip Black
committer:Chip Black
date:Mon Sep 12 00:07:24 2011 -0500
parents:71be66e0be3e483ac6f348c74975aa8a9f3fdb89
Make HexaSpinners start at a random rotation value
diff --git a/hacks/HexaSpinner/HexaSpinner.js b/hacks/HexaSpinner/HexaSpinner.js
line changes: +1/-1
index b585c6a..4246e23
--- a/hacks/HexaSpinner/HexaSpinner.js
+++ b/hacks/HexaSpinner/HexaSpinner.js
@@ -31,7 +31,7 @@ enyo.kind({
 		} else {
 			this.rate = Math.PI / 40;
 		}
-		this.rotation = 0;
+		this.rotation = Math.random() * 2 * Math.PI;
 	},
 	update: function(bb) {
 		this.position.add(this.velocity);