3d widget highlight added
This commit is contained in:
parent
d76d09019e
commit
45db21e66c
|
@ -219,12 +219,13 @@ const ProductionCapacity: React.FC<ProductionCapacityProps> = ({
|
|||
// e.stopPropagation();
|
||||
}}
|
||||
wrapperClass="pointer-none"
|
||||
className="pointer-none"
|
||||
className={`${selectedChartId?.id === id ? "activeChart" : ""}`}
|
||||
>
|
||||
<div
|
||||
className="productionCapacity-wrapper card"
|
||||
className={`productionCapacity-wrapper card ${selectedChartId?.id === id ? "activeChart" : ""}`}
|
||||
onClick={() => setSelectedChartId({ id: id, type: type })}
|
||||
onContextMenu={onContextMenu}
|
||||
|
||||
style={{
|
||||
width: "300px", // Original width
|
||||
height: "300px", // Original height
|
||||
|
|
|
@ -226,6 +226,7 @@ const ReturnOfInvestment: React.FC<ReturnOfInvestmentProps> = ({ id, type, posit
|
|||
transition: 'transform 0.1s ease-out'
|
||||
|
||||
}}
|
||||
className={`${selectedChartId?.id === id ? "activeChart" : ""}`}
|
||||
>
|
||||
<div className="returnOfInvestment card"
|
||||
onClick={() => setSelectedChartId({ id: id, type: type })}
|
||||
|
|
|
@ -111,6 +111,7 @@ const StateWorking: React.FC<StateWorkingProps> = ({ id, type, position, rotatio
|
|||
transition: 'transform 0.1s ease-out'
|
||||
|
||||
}}
|
||||
className={`${selectedChartId?.id === id ? "activeChart" : ""}`}
|
||||
>
|
||||
<div className="stateWorking-wrapper card"
|
||||
onClick={() => setSelectedChartId({ id: id, type: type })}
|
||||
|
|
|
@ -206,6 +206,7 @@ const Throughput: React.FC<ThroughputProps> = ({ id, type, position, rotation, o
|
|||
transition: 'transform 0.1s ease-out'
|
||||
|
||||
}}
|
||||
className={`${selectedChartId?.id === id ? "activeChart" : ""}`}
|
||||
>
|
||||
<div className="throughput-wrapper"
|
||||
onClick={() => setSelectedChartId({ id: id, type: type })}
|
||||
|
|
|
@ -742,7 +742,7 @@
|
|||
}
|
||||
|
||||
.activeChart {
|
||||
outline: 1px solid var(--accent-color);
|
||||
outline: 2px solid var(--accent-color);
|
||||
z-index: 2 !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue