Skip to content

Commit

Permalink
lint fix (#28261)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed May 3, 2024
1 parent 697a873 commit 678c80c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions editor/js/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function Loader( editor ) {

}, function ( error ) {

console.error( error )
console.error( error );

} );

Expand Down Expand Up @@ -941,7 +941,7 @@ function Loader( editor ) {
{

const loader = await createGLTFLoader( manager );

loader.parse( strFromU8( file ), '', function ( result ) {

const scene = result.scene;
Expand Down
2 changes: 1 addition & 1 deletion editor/js/Menubar.View.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function MenubarView( editor ) {

}

} );
} );

}

Expand Down
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function SidebarScene( editor ) {
const backgroundIntensity = new UINumber( 1 ).setWidth( '40px' ).setRange( 0, Infinity ).onChange( onBackgroundChanged );
backgroundEquirectRow.add( backgroundIntensity );

const backgroundRotation = new UINumber( 0 ).setWidth( '40px' ).setRange( -180, 180 ).setStep( 10 ).setNudge( 0.1 ).setUnit( '°' ).onChange( onBackgroundChanged );
const backgroundRotation = new UINumber( 0 ).setWidth( '40px' ).setRange( - 180, 180 ).setStep( 10 ).setNudge( 0.1 ).setUnit( '°' ).onChange( onBackgroundChanged );
backgroundEquirectRow.add( backgroundRotation );

container.add( backgroundEquirectRow );
Expand Down
6 changes: 3 additions & 3 deletions editor/js/Viewport.Pathtracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function ViewportPathtracer( renderer ) {

}

function setSize( width, height ) {
function setSize( /* width, height */ ) {

if ( pathTracer === null ) return;

Expand All @@ -26,7 +26,7 @@ function ViewportPathtracer( renderer ) {

}

function setBackground( background, blurriness ) {
function setBackground( /* background, blurriness */ ) {

if ( pathTracer === null ) return;

Expand All @@ -43,7 +43,7 @@ function ViewportPathtracer( renderer ) {

}

function setEnvironment( environment ) {
function setEnvironment( /* environment */ ) {

if ( pathTracer === null ) return;

Expand Down

0 comments on commit 678c80c

Please sign in to comment.