Skip to content

Commit

Permalink
Bug 737859: Cursor is no longer hidden before game start
Browse files Browse the repository at this point in the history
  • Loading branch information
glecollinet committed Mar 21, 2012
1 parent 5c36287 commit 4b5126b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/css/main.css
Expand Up @@ -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; */
Expand Down
1 change: 1 addition & 0 deletions client/js/app.js
Expand Up @@ -109,6 +109,7 @@ define(['jquery', 'storage'], function($, Storage) {

this.center();
this.game.run(function() {
$('body').addClass('started');
if(firstTimePlaying) {
self.toggleInstructions();
}
Expand Down

0 comments on commit 4b5126b

Please sign in to comment.