Browse Source

Renamed gui to editor.

Mr.doob 13 năm trước cách đây
mục cha
commit
4aad148dc8

+ 1 - 1
gui/index.html → editor/index.html

@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html lang="en">
 	<head>
-		<title>three.js gui</title>
+		<title>three.js editor</title>
 		<style>
 			body {
 				font-family: Arial, sans-serif;

+ 0 - 1
gui/js/UI.js → editor/js/UI.js

@@ -278,7 +278,6 @@ UI.Select = function ( position ) {
 	this.dom.style.height = '16px';
 	this.dom.style.border = '0px';
 	this.dom.style.padding = '0px';
-	this.dom.style.whiteSpace = 'pre';
 
 	this.onChangeCallback = null;
 

+ 0 - 0
gui/js/libs/signals.min.js → editor/js/libs/signals.min.js


+ 0 - 0
gui/js/ui/Menubar.js → editor/js/ui/Menubar.js


+ 0 - 0
gui/js/ui/Sidebar.Outliner.js → editor/js/ui/Sidebar.Outliner.js


+ 0 - 0
gui/js/ui/Sidebar.Properties.Geometry.js → editor/js/ui/Sidebar.Properties.Geometry.js


+ 0 - 0
gui/js/ui/Sidebar.Properties.Material.js → editor/js/ui/Sidebar.Properties.Material.js


+ 0 - 0
gui/js/ui/Sidebar.Properties.Object3D.js → editor/js/ui/Sidebar.Properties.Object3D.js


+ 0 - 0
gui/js/ui/Sidebar.Properties.js → editor/js/ui/Sidebar.Properties.js


+ 0 - 0
gui/js/ui/Sidebar.js → editor/js/ui/Sidebar.js


+ 1 - 1
gui/js/ui/Viewport.js → editor/js/ui/Viewport.js

@@ -207,7 +207,7 @@ var Viewport = function ( signals ) {
 
 	//
 
-	var renderer = new THREE.WebGLRenderer( { antialias: true, alpha: false, clearColor: 0xaaaaaa, clearAlpha: 1 } );
+	var renderer = new THREE.CanvasRenderer( { antialias: true, alpha: false, clearColor: 0xaaaaaa, clearAlpha: 1 } );
 	renderer.autoClear = false;
 	renderer.autoUpdateScene = false;
 	container.dom.appendChild( renderer.domElement );