v2-ui #83
|
@ -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>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue