Permalink
Browse files

disable mouse unpressing on mouse exit, til we figure out the bugginess

  • Loading branch information...
1 parent 642b9c8 commit 2b57cb168a9b0f306a94fe1e74faed06510313f4 @kripken committed Jun 1, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/library_sdl.js
View
@@ -305,6 +305,7 @@ var LibrarySDL = {
event.preventDefault();
}
break;
+ /* XXX buggy, disabling for now
case 'mouseout':
// Un-press all mouse buttons, because we might miss the release outside of the canvas
for (var i = 0; i < 3; i++) {
@@ -316,6 +317,7 @@ var LibrarySDL = {
});
}
break;
+ */
}
return false;
},

0 comments on commit 2b57cb1

Please sign in to comment.