v2-ui #83

Merged
Vishnu merged 31 commits from v2-ui into main 2025-05-08 14:20:43 +00:00
3 changed files with 11 additions and 8 deletions
Showing only changes of commit 66b4cbfaae - Show all commits

View File

@ -1,6 +1,7 @@
import RoboticArmInstance from "./armInstance/roboticArmInstance";
import { useArmBotStore } from "../../../../store/simulation/useArmBotStore";
import RoboticArmContentUi from "../../ui3d/RoboticArmContentUi";
import React from "react";
function RoboticArmInstances() {
const { armBots } = useArmBotStore();
@ -8,10 +9,10 @@ function RoboticArmInstances() {
return (
<>
{armBots?.map((robot: ArmBotStatus) => (
<>
<RoboticArmInstance key={robot.modelUuid} armBot={robot} />
<RoboticArmContentUi roboticArm={robot}/>
</>
<React.Fragment key={robot.modelUuid}>
<RoboticArmInstance armBot={robot} />
<RoboticArmContentUi roboticArm={robot} />
</React.Fragment>
))}
</>
);

View File

@ -9,10 +9,10 @@ function VehicleInstances() {
return (
<>
{vehicles.map((vehicle: VehicleStatus) => (
<>
<VehicleInstance agvDetail={vehicle} key={vehicle.modelUuid} />
<VehicleContentUi vehicle={vehicle} key={`${vehicle.modelUuid}-ui`} />
</>
<React.Fragment key={vehicle.modelUuid}>
<VehicleInstance agvDetail={vehicle} />
<VehicleContentUi vehicle={vehicle} />
</React.Fragment>
))}
</>
);

View File

@ -425,6 +425,8 @@
animation: borderAnimation 5s linear infinite;
-webkit-mask: linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;