From ef0854545bb8bf4efa65a8a1e47289249de3518c Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 12 May 2015 18:02:36 +0800 Subject: [PATCH] Fix cc.EventMouse constants issue --- cocos/scripting/js-bindings/script/jsb_cocos2d.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/scripting/js-bindings/script/jsb_cocos2d.js b/cocos/scripting/js-bindings/script/jsb_cocos2d.js index f97e120f39..f3ede487b4 100644 --- a/cocos/scripting/js-bindings/script/jsb_cocos2d.js +++ b/cocos/scripting/js-bindings/script/jsb_cocos2d.js @@ -246,8 +246,8 @@ cc.EventMouse.UP = 2; cc.EventMouse.MOVE = 3; cc.EventMouse.SCROLL = 4; cc.EventMouse.BUTTON_LEFT = 0; -cc.EventMouse.BUTTON_RIGHT = 2; -cc.EventMouse.BUTTON_MIDDLE = 1; +cc.EventMouse.BUTTON_RIGHT = 1; +cc.EventMouse.BUTTON_MIDDLE = 2; cc.EventMouse.BUTTON_4 = 3; cc.EventMouse.BUTTON_5 = 4; cc.EventMouse.BUTTON_6 = 5;