Skip to content

Commit

Permalink
Editor: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 7, 2021
1 parent 76ac160 commit 2f30e75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions editor/js/libs/ui.three.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) {
Expand Down Expand Up @@ -112,6 +112,7 @@ function UITexture( mapping ) {
}, false );

reader.readAsDataURL( file );

}

form.reset();
Expand Down Expand Up @@ -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' );
Expand Down

0 comments on commit 2f30e75

Please sign in to comment.