소스 검색

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 파일 보기

@@ -553,11 +553,11 @@ export default class Input{
button: button,
delta: 0,
action: "mouseup"
}
this.__emitter.emit("mouseup", data);
}
if (diff <= MOUSECLICK_DELAY && this.__mouseButtons.length <= 0){
this.__emitter.emit("mouseclick", data);
}
this.__emitter.emit("mouseup", data);
}
}
return false;

Loading…
취소
저장