浏览代码

Input updated to call the 'mouseup' event last, to remain consistant with all other events.

dev
Bryan Miller 6 年前
父节点
当前提交
1d3024c167
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      app/js/ui/Input.js

+ 2
- 2
app/js/ui/Input.js 查看文件

button: button, button: button,
delta: 0, delta: 0,
action: "mouseup" action: "mouseup"
}
this.__emitter.emit("mouseup", data);
}
if (diff <= MOUSECLICK_DELAY && this.__mouseButtons.length <= 0){ if (diff <= MOUSECLICK_DELAY && this.__mouseButtons.length <= 0){
this.__emitter.emit("mouseclick", data); this.__emitter.emit("mouseclick", data);
} }
this.__emitter.emit("mouseup", data);
} }
} }
return false; return false;

正在加载...
取消
保存