Skip to content

Commit

Permalink
disable mouse unpressing on mouse exit, til we figure out the bugginess
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Jun 1, 2012
1 parent 642b9c8 commit 2b57cb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/library_sdl.js
Expand Up @@ -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++) {
Expand All @@ -316,6 +317,7 @@ var LibrarySDL = {
});
}
break;
*/
}
return false;
},
Expand Down

0 comments on commit 2b57cb1

Please sign in to comment.