瀏覽代碼

Update TrackballControls tab consistency

There were spaces instead of tab which breaks the consistency and throws off alignment in my text editor
Spencer 8 年之前
父節點
當前提交
cebc2aca2c
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      examples/js/controls/TrackballControls.js

+ 5 - 5
examples/js/controls/TrackballControls.js

@@ -475,13 +475,13 @@ THREE.TrackballControls = function ( object, domElement ) {
 
 		switch ( event.deltaMode ) {
 
-                        case 2:
-                                // Zoom in pages
-                                _zoomStart.y -= event.deltaY * 0.025;
-                                break;
+			case 2:
+				// Zoom in pages
+				_zoomStart.y -= event.deltaY * 0.025;
+				break;
 
 			case 1:
-                                // Zoom in lines
+				// Zoom in lines
 				_zoomStart.y -= event.deltaY * 0.01;
 				break;