mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
Prettified Code!
This commit is contained in:
1 parent
8bbf578f10
commit
ff457f443a
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ export default function StatusPanel(props: StatusPanelProps) {
|
|||||||
const vis_train_ratio = useSelector(
|
const vis_train_ratio = useSelector(
|
||||||
(state) => state.renderingState.vis_train_ratio,
|
(state) => state.renderingState.vis_train_ratio,
|
||||||
);
|
);
|
||||||
|
|
||||||
// logic for toggling visibility of the entire scene and just the training images
|
// logic for toggling visibility of the entire scene and just the training images
|
||||||
const [is_scene_visible, set_is_scene_visible] = React.useState(1);
|
const [is_scene_visible, set_is_scene_visible] = React.useState(1);
|
||||||
const [is_images_visible, set_is_images_visible] = React.useState(1);
|
const [is_images_visible, set_is_images_visible] = React.useState(1);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default function WebSocketUrlField() {
|
|||||||
onChange={websocket_port_onchange}
|
onChange={websocket_port_onchange}
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
<Link href={`/?websocket_port=${ websocket_port}`}>
|
<Link href={`/?websocket_port=${websocket_port}`}>
|
||||||
viewer.nerf.studio?websocket_port={websocket_port}
|
viewer.nerf.studio?websocket_port={websocket_port}
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user