add background cirlces to ACAs

This commit is contained in:
bedlam343 2024-05-18 15:57:51 -07:00
parent 310e7f7d07
commit 9e2f50b5ef

View File

@ -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 */}