diff --git a/include/input.js b/include/input.js index b996c7d5..282ed690 100644 --- a/include/input.js +++ b/include/input.js @@ -543,7 +543,7 @@ function onMouseButton(e, down) { } //Util.Debug("mouse " + pos.x + "," + pos.y + " down: " + down + // " bmask: " + bmask + "(evt.button: " + evt.button + ")"); - if (bmask > 0 && conf.onMouseButton) { + if (conf.onMouseButton) { Util.Debug("onMouseButton " + (down ? "down" : "up") + ", x: " + pos.x + ", y: " + pos.y + ", bmask: " + bmask); conf.onMouseButton(pos.x, pos.y, down, bmask);