diff --git a/src/clientSideScene/ClientSideSceneComp.tsx b/src/clientSideScene/ClientSideSceneComp.tsx index fd879b536..7a545cce8 100644 --- a/src/clientSideScene/ClientSideSceneComp.tsx +++ b/src/clientSideScene/ClientSideSceneComp.tsx @@ -233,9 +233,6 @@ const Overlay = ({ state.matches({ Sketch: 'Rectangle tool' }) ) - // The constraint overlays need to go over the line labels. - const zIndex = 10 - return (
@@ -255,7 +251,6 @@ const Overlay = ({ data-overlay-toolbar-index={overlayIndex} className={`px-0 pointer-events-auto absolute flex gap-1`} style={{ - zIndex, transform: `translate3d(calc(${ overlay.windowCoords[0] + xOffset }px + ${xAlignment}), calc(${ @@ -297,7 +292,6 @@ const Overlay = ({ */} {callExpression?.callee?.name !== 'circle' && ( window.innerHeight / 2 ? 'top' @@ -439,17 +433,15 @@ const SegmentMenu = ({ verticalPosition, pathToNode, stdLibFnName, - style, }: { verticalPosition: 'top' | 'bottom' pathToNode: PathToNode stdLibFnName: string - style?: CSSProperties }) => { const { send } = useModelingContext() const dependentSourceRanges = findUsesOfTagInPipe(kclManager.ast, pathToNode) return ( - + {({ open }) => ( <>