Permalink
Browse files

Bug 737859: Cursor is no longer hidden before game start

  • Loading branch information...
1 parent 5c36287 commit 4b5126b55df8048b53036ce4787b712f4c5899d2 @glecollinet glecollinet committed Mar 21, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −1 client/css/main.css
  2. +1 −0 client/js/app.js
View
@@ -100,9 +100,11 @@ footer, header, hgroup, menu, nav, section {
#background, #foreground { margin:0; padding:0;}
#achievements nav::selection {background:transparent;text-decoration:none;color:transparent;}
- #canvas {-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;-ms-user-select:none;cursor:none;}
+ #canvas {-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;-ms-user-select:none;}
#bubbles {-webkit-user-select:none;-moz-user-select:none;}
+ .started #canvas {cursor:none;}
+
#foreground {
-webkit-tap-highlight-color:rgba(0,0,0,0);
/* -webkit-touch-callout:none; */
View
@@ -109,6 +109,7 @@ define(['jquery', 'storage'], function($, Storage) {
this.center();
this.game.run(function() {
+ $('body').addClass('started');
if(firstTimePlaying) {
self.toggleInstructions();
}

0 comments on commit 4b5126b

Please sign in to comment.