Skip to content

Commit

Permalink
I should really run the automated tests before making a commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mennovanslooten committed Jun 5, 2015
1 parent 89e6911 commit 09f4a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ exports.create = function(_page) {
* start moving the mouse in that direction
*/
_mouse.sendEvent = function(type, x, y) {
if (_is_moving) return;
if (_is_moving) return false;

if (isHovering(x, y)) {
sendEvent(type);
Expand Down

0 comments on commit 09f4a72

Please sign in to comment.