mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 05:48:57 +08:00
Prettified Code!
This commit is contained in:
1 parent
ffe2c5d92d
commit
4c1e443a41
3 files changed
+5
-3
No files matched your search
@@ -120,7 +120,7 @@ export function RenderControls() {
|
|||||||
// output_options
|
// output_options
|
||||||
output_options: {
|
output_options: {
|
||||||
label: 'Output Render',
|
label: 'Output Render',
|
||||||
options: [... new Set(outputOptions)],
|
options: [...new Set(outputOptions)],
|
||||||
value: outputChoice,
|
value: outputChoice,
|
||||||
onChange: (v) => {
|
onChange: (v) => {
|
||||||
set_output_choice(v);
|
set_output_choice(v);
|
||||||
|
|||||||
@@ -48,7 +48,9 @@ function CameraList(props) {
|
|||||||
'Camera',
|
'Camera',
|
||||||
]);
|
]);
|
||||||
transform_controls.attach(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';
|
viewer_buttons.style.display = 'block';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ export default function ViewerWindow(props) {
|
|||||||
<CameraToggle />
|
<CameraToggle />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="ViewerWindow-buttons" style={{display: 'none'}}>
|
<div className="ViewerWindow-buttons" style={{ display: 'none' }}>
|
||||||
<TransformIcons sceneTree={sceneTree} />
|
<TransformIcons sceneTree={sceneTree} />
|
||||||
</div>
|
</div>
|
||||||
<div className="ViewerWindow-render-crop-container">
|
<div className="ViewerWindow-render-crop-container">
|
||||||
|
|||||||
Reference in new issue
Block a user