Ver Fonte

Editor: Clean up.

Mr.doob há 4 anos atrás
pai
commit
2f30e75cc9
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      editor/js/libs/ui.three.js

+ 3 - 2
editor/js/libs/ui.three.js

@@ -47,7 +47,7 @@ function UITexture( mapping ) {
 
 	function loadFile( file ) {
 
-		var extension = file.name.split( '.' ).pop().toLowerCase()
+		var extension = file.name.split( '.' ).pop().toLowerCase();
 		var reader = new FileReader();
 
 		if ( extension === 'hdr' ) {
@@ -112,6 +112,7 @@ function UITexture( mapping ) {
 			}, false );
 
 			reader.readAsDataURL( file );
+
 		}
 
 		form.reset();
@@ -899,7 +900,7 @@ function UIBoolean( boolean, text ) {
 
 	UISpan.call( this );
 
-	this.setMarginRight( '10px' );
+	this.setMarginRight( '4px' );
 
 	this.checkbox = new UICheckbox( boolean );
 	this.text = new UIText( text ).setMarginLeft( '3px' );