Browse Source

Keep the cursor as pointer after dragging

govizlora 7 years ago
parent
commit
0cbee093ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/controls/DragControls.js

+ 1 - 1
examples/js/controls/DragControls.js

@@ -154,7 +154,7 @@ THREE.DragControls = function ( _objects, _camera, _domElement ) {
 
 		}
 
-		_domElement.style.cursor = 'auto';
+		_domElement.style.cursor = _hovered ? 'pointer' : 'auto';
 
 	}