4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00

Prettified Code!

This commit is contained in:
evonneng 2022-09-16 23:08:47 +00:00 committed by GitHub Action
parent ffe2c5d92d
commit 4c1e443a41
3 changed files with 5 additions and 3 deletions

View File

@ -120,7 +120,7 @@ export function RenderControls() {
// output_options
output_options: {
label: 'Output Render',
options: [... new Set(outputOptions)],
options: [...new Set(outputOptions)],
value: outputChoice,
onChange: (v) => {
set_output_choice(v);

View File

@ -48,7 +48,9 @@ function CameraList(props) {
'Camera',
]);
transform_controls.attach(camera);
const viewer_buttons = document.getElementsByClassName("ViewerWindow-buttons")[0];
const viewer_buttons = document.getElementsByClassName(
'ViewerWindow-buttons',
)[0];
viewer_buttons.style.display = 'block';
};

View File

@ -277,7 +277,7 @@ export default function ViewerWindow(props) {
<CameraToggle />
</div>
</div>
<div className="ViewerWindow-buttons" style={{display: 'none'}}>
<div className="ViewerWindow-buttons" style={{ display: 'none' }}>
<TransformIcons sceneTree={sceneTree} />
</div>
<div className="ViewerWindow-render-crop-container">