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:
parent
ffe2c5d92d
commit
4c1e443a41
@ -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);
|
||||
|
||||
@ -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';
|
||||
};
|
||||
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user