v2-ui #83
@@ -1,6 +1,7 @@
|
|||||||
import RoboticArmInstance from "./armInstance/roboticArmInstance";
|
import RoboticArmInstance from "./armInstance/roboticArmInstance";
|
||||||
import { useArmBotStore } from "../../../../store/simulation/useArmBotStore";
|
import { useArmBotStore } from "../../../../store/simulation/useArmBotStore";
|
||||||
import RoboticArmContentUi from "../../ui3d/RoboticArmContentUi";
|
import RoboticArmContentUi from "../../ui3d/RoboticArmContentUi";
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
function RoboticArmInstances() {
|
function RoboticArmInstances() {
|
||||||
const { armBots } = useArmBotStore();
|
const { armBots } = useArmBotStore();
|
||||||
@@ -8,10 +9,10 @@ function RoboticArmInstances() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{armBots?.map((robot: ArmBotStatus) => (
|
{armBots?.map((robot: ArmBotStatus) => (
|
||||||
<>
|
<React.Fragment key={robot.modelUuid}>
|
||||||
<RoboticArmInstance key={robot.modelUuid} armBot={robot} />
|
<RoboticArmInstance armBot={robot} />
|
||||||
<RoboticArmContentUi roboticArm={robot}/>
|
<RoboticArmContentUi roboticArm={robot} />
|
||||||
</>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ function VehicleInstances() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{vehicles.map((vehicle: VehicleStatus) => (
|
{vehicles.map((vehicle: VehicleStatus) => (
|
||||||
<>
|
<React.Fragment key={vehicle.modelUuid}>
|
||||||
<VehicleInstance agvDetail={vehicle} key={vehicle.modelUuid} />
|
<VehicleInstance agvDetail={vehicle} />
|
||||||
<VehicleContentUi vehicle={vehicle} key={`${vehicle.modelUuid}-ui`} />
|
<VehicleContentUi vehicle={vehicle} />
|
||||||
</>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -425,6 +425,8 @@
|
|||||||
animation: borderAnimation 5s linear infinite;
|
animation: borderAnimation 5s linear infinite;
|
||||||
-webkit-mask: linear-gradient(#fff 0 0) content-box,
|
-webkit-mask: linear-gradient(#fff 0 0) content-box,
|
||||||
linear-gradient(#fff 0 0);
|
linear-gradient(#fff 0 0);
|
||||||
|
mask: linear-gradient(#fff 0 0) content-box,
|
||||||
|
linear-gradient(#fff 0 0);
|
||||||
-webkit-mask-composite: xor;
|
-webkit-mask-composite: xor;
|
||||||
mask-composite: exclude;
|
mask-composite: exclude;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user