diff --git a/app/src/modules/duplicate/duplicateSimulation/duplicateTrigger/duplicateTrigger.tsx b/app/src/modules/duplicate/duplicateSimulation/duplicateTrigger/duplicateTrigger.tsx index d9e70e4..a6cd8fd 100644 --- a/app/src/modules/duplicate/duplicateSimulation/duplicateTrigger/duplicateTrigger.tsx +++ b/app/src/modules/duplicate/duplicateSimulation/duplicateTrigger/duplicateTrigger.tsx @@ -147,7 +147,7 @@ function TriggerDuplicate() { start={startPoint.toArray()} end={endPoint.toArray()} mid={midPoint.toArray()} - color={"#42a5f5"} + color={"#c4abf1"} lineWidth={4} dashed={true} dashSize={0.75} @@ -157,7 +157,7 @@ function TriggerDuplicate() { ); })} - + ); } diff --git a/app/src/modules/simulation/events/arrows/arrows.tsx b/app/src/modules/simulation/events/arrows/arrows.tsx index 59e56e2..eca413f 100644 --- a/app/src/modules/simulation/events/arrows/arrows.tsx +++ b/app/src/modules/simulation/events/arrows/arrows.tsx @@ -10,7 +10,7 @@ interface ConnectionLine { trigger: TriggerSchema; } -export function Arrows({ connections }: { readonly connections: ConnectionLine[] }) { +export function Arrows({ connections, color = "#42a5f5" }: { readonly connections: ConnectionLine[], color?: string }) { const [hoveredLineKey, setHoveredLineKey] = useState(null); const groupRef = useRef(null); const { scene } = useThree(); @@ -61,7 +61,7 @@ export function Arrows({ connections }: { readonly connections: ConnectionLine[] onPointerOut={() => setHoveredLineKey(null)} > setHoveredLineKey(null)} > diff --git a/app/src/modules/simulation/events/triggerConnections/triggerConnector.tsx b/app/src/modules/simulation/events/triggerConnections/triggerConnector.tsx index c63612a..80e5ae9 100644 --- a/app/src/modules/simulation/events/triggerConnections/triggerConnector.tsx +++ b/app/src/modules/simulation/events/triggerConnections/triggerConnector.tsx @@ -477,7 +477,7 @@ function TriggerConnector() { start={startPoint.toArray()} end={endPoint.toArray()} mid={midPoint.toArray()} - color={toolMode === '3D-Delete' && hoveredLineKey === connection.id ? "red" : "#42a5f5"} + color={toolMode === '3D-Delete' && hoveredLineKey === connection.id ? "red" : "#6f42c1"} lineWidth={4} dashed={toolMode === '3D-Delete' && hoveredLineKey === connection.id ? false : true} dashSize={0.75} @@ -496,7 +496,7 @@ function TriggerConnector() { ); })} - + {currentLine && ( <>