Skip to content

Commit

Permalink
Editor: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 19, 2020
1 parent e37cb98 commit 6ce6848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions editor/js/Sidebar.Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ function SidebarProject( editor ) {
var value = this.getValue();

config.setKey( 'project/renderer/toneMapping', parseFloat( value ) );
updateRenderer();

toneMappingExposure.setDisplay( value === '0' ? 'none' : '' );

updateRenderer();

} );
toneMappingSelect.setValue( config.getKey( 'project/renderer/toneMapping' ) );

Expand Down
4 changes: 3 additions & 1 deletion editor/js/libs/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
font-size: 11px;
background-color: #000;
margin: 0px;
overflow: hidden;
}
canvas {
display: block;
}
</style>
</head>
Expand Down

0 comments on commit 6ce6848

Please sign in to comment.