Corrected bug on pointer camera
This commit is contained in:
		
							parent
							
								
									85c896d016
								
							
						
					
					
						commit
						d2ab6b0f63
					
				| @ -48,8 +48,8 @@ var PointerCamera = function() { | ||||
| 
 | ||||
|     document.addEventListener('keydown', onKeyDown, false); | ||||
|     document.addEventListener('keyup', onKeyUp, false); | ||||
|     listenerTarget.addEventListener('mousedown', function(event) { if (event.which == 1) onMouseDown();}, false); | ||||
|     listenerTarget.addEventListener('mousemove', function(event) { if (event.which == 1) onMouseMove();}, false); | ||||
|     listenerTarget.addEventListener('mousedown', function(event) { if (event.which == 1) onMouseDown(event);}, false); | ||||
|     listenerTarget.addEventListener('mousemove', function(event) { if (event.which == 1) onMouseMove(event);}, false); | ||||
|     listenerTarget.addEventListener('mouseup', onMouseUp, false); | ||||
|     listenerTarget.addEventListener('mouseout', onMouseUp, false); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user