Improved mouse out behavior
This commit is contained in:
parent
606e0e23de
commit
214f84a233
|
@ -53,7 +53,7 @@ var PointerCamera = function() {
|
|||
listenerTarget.addEventListener('mousemove', function(event) { if (event.which == 1) onMouseMove(event);}, false);
|
||||
listenerTarget.addEventListener('mouseup', onMouseUp, false);
|
||||
// listenerTarget.addEventListener('mouseup', function() { console.log("mouseup");}, false);
|
||||
// listenerTarget.addEventListener('mouseout', onMouseUp, false);
|
||||
listenerTarget.addEventListener('mouseout', onMouseUp, false);
|
||||
|
||||
this.collisions = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue