diff --git a/web/src/views/motion-search/MotionSearchROICanvas.tsx b/web/src/views/motion-search/MotionSearchROICanvas.tsx index f393a9cfbf..43fac7a48c 100644 --- a/web/src/views/motion-search/MotionSearchROICanvas.tsx +++ b/web/src/views/motion-search/MotionSearchROICanvas.tsx @@ -372,24 +372,25 @@ export default function MotionSearchROICanvas({ /> )} - {/* Vertex points */} - {scaledPoints.map((point, index) => ( - handlePointDragMove(e, index)} - onMouseOver={(e) => handleMouseOverPoint(e, index)} - onMouseOut={(e) => handleMouseOutPoint(e, index)} - onContextMenu={(e) => handleContextMenu(e, index)} - /> - ))} + {/* Vertex points (only shown in interactive/dialog mode) */} + {isInteractive && + scaledPoints.map((point, index) => ( + handlePointDragMove(e, index)} + onMouseOver={(e) => handleMouseOverPoint(e, index)} + onMouseOut={(e) => handleMouseOutPoint(e, index)} + onContextMenu={(e) => handleContextMenu(e, index)} + /> + ))} )}