Skip to content

Commit c513508

Browse files
committed
Editor: Clean up.
1 parent 2f30e75 commit c513508

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

editor/js/Sidebar.Scene.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function SidebarScene( editor ) {
166166

167167
var backgroundType = new UISelect().setOptions( {
168168

169-
'None': 'None',
169+
'None': '',
170170
'Color': 'Color',
171171
'Texture': 'Texture',
172172
'Equirectangular': 'Equirect'
@@ -215,7 +215,7 @@ function SidebarScene( editor ) {
215215

216216
var environmentType = new UISelect().setOptions( {
217217

218-
'None': 'None',
218+
'None': '',
219219
'Background': 'Background'
220220

221221
} ).setWidth( '150px' );
@@ -260,7 +260,7 @@ function SidebarScene( editor ) {
260260
var fogTypeRow = new UIRow();
261261
var fogType = new UISelect().setOptions( {
262262

263-
'None': 'None',
263+
'None': '',
264264
'Fog': 'Linear',
265265
'FogExp2': 'Exponential'
266266

@@ -353,7 +353,7 @@ function SidebarScene( editor ) {
353353

354354
if ( scene.background.isColor ) {
355355

356-
backgroundType.setValue( "Color" );
356+
backgroundType.setValue( 'Color' );
357357
backgroundColor.setHexValue( scene.background.getHex() );
358358
backgroundTexture.setValue( null );
359359
backgroundEquirectangularTexture.setValue( null );
@@ -364,7 +364,7 @@ function SidebarScene( editor ) {
364364

365365
} else {
366366

367-
backgroundType.setValue( "None" );
367+
backgroundType.setValue( 'None' );
368368
backgroundTexture.setValue( null );
369369
backgroundEquirectangularTexture.setValue( null );
370370

@@ -376,7 +376,7 @@ function SidebarScene( editor ) {
376376

377377
} else {
378378

379-
environmentType.setValue( "None" );
379+
environmentType.setValue( 'None' );
380380

381381
}
382382

@@ -386,20 +386,20 @@ function SidebarScene( editor ) {
386386

387387
if ( scene.fog.isFog ) {
388388

389-
fogType.setValue( "Fog" );
389+
fogType.setValue( 'Fog' );
390390
fogNear.setValue( scene.fog.near );
391391
fogFar.setValue( scene.fog.far );
392392

393393
} else if ( scene.fog.isFogExp2 ) {
394394

395-
fogType.setValue( "FogExp2" );
395+
fogType.setValue( 'FogExp2' );
396396
fogDensity.setValue( scene.fog.density );
397397

398398
}
399399

400400
} else {
401401

402-
fogType.setValue( "None" );
402+
fogType.setValue( 'None' );
403403

404404
}
405405

0 commit comments

Comments
 (0)