Skip to content

Commit

Permalink
ticket #108: fixed mouse position detection when the viewport offset …
Browse files Browse the repository at this point in the history
…is not (0,0)
  • Loading branch information
obiot committed Jan 28, 2013
1 parent 7c13ed3 commit 84232f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/debug/debugPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
me.game.sort();
}
// register a mouse event for the checkboxes
me.input.registerMouseEvent('mousedown', this.rect, this.onClick.bind(this));
me.input.registerMouseEvent('mousedown', this.rect, this.onClick.bind(this), true);
// make it visible
this.visible = true;
// force repaint
Expand Down

0 comments on commit 84232f6

Please sign in to comment.