diff --git a/web/src/features/menu/radial/index.tsx b/web/src/features/menu/radial/index.tsx index 20929e6..2a11743 100644 --- a/web/src/features/menu/radial/index.tsx +++ b/web/src/features/menu/radial/index.tsx @@ -104,9 +104,12 @@ const RadialMenu: React.FC = () => { <> - - - + {/*Fixed issues with background circle extending the circle when there's less than 3 items*/} + {menu.items.length >= 3 && ( + + + + )} {menu.items.map((item, index) => { const pieAngle = 360 / menu.items.length; const angle = degToRad(pieAngle / 2 + 90); @@ -140,7 +143,6 @@ const RadialMenu: React.FC = () => { ); })} - {/*TODO: Fix background circle when there's 2 items*/}