{/* Operations layer - alignment lines and selection handles */}
{/* Alignment lines */}
{alignmentLines.map((line, index) => (
))}
{/* Multi-select operations */}
{activeElementIdList.length > 1 && (
)}
{/* Single element operations */}
{elementList.map(
(element: PPTElement) =>
!hiddenElementIdList.includes(element.id) && (
1}
rotateElement={rotateElement}
scaleElement={scaleElement}
dragLineElement={dragLineElement}
moveShapeKeypoint={moveShapeKeypoint}
openLinkDialog={openLinkDialog}
/>
),
)}
{/* Viewport - the actual slide canvas */}
{/* Grid lines */}
{gridLineSize > 0 && }
{/* Mouse selection rectangle */}
{mouseSelectionVisible && (
)}
{/* Render all elements */}
{elementList.map((element: PPTElement, index: number) =>
!hiddenElementIdList.includes(element.id) ? (
1}
selectElement={selectElement}
openLinkDialog={openLinkDialog}
/>
) : null,
)}
{/* Ruler */}
{showRuler &&