add background cirlces to ACAs
This commit is contained in:
parent
310e7f7d07
commit
9e2f50b5ef
@ -20,7 +20,7 @@ const VehicleWidget = ({ widget }: VehicleWidgetProps) => {
|
|||||||
opacity: 0.9,
|
opacity: 0.9,
|
||||||
color: 'white',
|
color: 'white',
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
zIndex: 100,
|
zIndex: 1,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* @ts-ignore */}
|
{/* @ts-ignore */}
|
||||||
@ -47,7 +47,11 @@ const VehicleWidget = ({ widget }: VehicleWidgetProps) => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{ transform: `rotate(${-widget.rotation + Math.PI * 0.5}rad)` }}
|
style={{
|
||||||
|
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
||||||
|
borderRadius: '50%',
|
||||||
|
transform: `rotate(${-widget.rotation + Math.PI * 0.5}rad)`,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Element key={widget.id} element={widget.elements[0]}>
|
<Element key={widget.id} element={widget.elements[0]}>
|
||||||
{/* Nested children here if wanted */}
|
{/* Nested children here if wanted */}
|
||||||
|
Loading…
Reference in New Issue
Block a user