simulation #50

Merged
Vishnu merged 13 commits from simulation into main 2025-04-07 13:11:41 +00:00
2 changed files with 15 additions and 15 deletions
Showing only changes of commit 1852a47775 - Show all commits

View File

@@ -99,7 +99,7 @@ const RealTimeVisulization: React.FC = () => {
{} {}
); );
setZonesData(formattedData); setZonesData(formattedData);
} catch (error) {} } catch (error) { }
} }
GetZoneData(); GetZoneData();
@@ -197,7 +197,7 @@ const RealTimeVisulization: React.FC = () => {
], ],
}, },
})); }));
} catch (error) {} } catch (error) { }
}; };
useEffect(() => { useEffect(() => {
const handleClickOutside = (event: MouseEvent) => { const handleClickOutside = (event: MouseEvent) => {
@@ -264,19 +264,19 @@ const RealTimeVisulization: React.FC = () => {
/> />
</RenderOverlay> </RenderOverlay>
)} )}
{/* <div <div
className="scene-container" className="scene-container"
style={{ style={{
height: "100%", height: "100%",
width: "100%", width: "100%",
borderRadius: borderRadius:
isPlaying || activeModule !== "visualization" ? "" : "6px", isPlaying || activeModule !== "visualization" ? "" : "6px",
}} }}
onDrop={(event) => handleDrop(event)} onDrop={(event) => handleDrop(event)}
onDragOver={(event) => event.preventDefault()} onDragOver={(event) => event.preventDefault()}
> >
<Scene /> <Scene />
</div> */} </div>
{activeModule === "visualization" && selectedZone.zoneName !== "" && ( {activeModule === "visualization" && selectedZone.zoneName !== "" && (
<DroppedObjects /> <DroppedObjects />
)} )}

View File

@@ -56,7 +56,7 @@ const Project: React.FC = () => {
return ( return (
<div className="project-main"> <div className="project-main">
{/* {loadingProgress && <LoadingPage progress={loadingProgress} />} */} {loadingProgress && <LoadingPage progress={loadingProgress} />}
{!isPlaying && ( {!isPlaying && (
<> <>
{toggleThreeD && <ModuleToggle />} {toggleThreeD && <ModuleToggle />}