Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: always mount RegionOcrOverlay so shift+drag works

Louis Beaumontb3628788db3a
diff --git a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
index e375ba451..64ef1ba17 100644
--- a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
@@ -978,15 +978,13 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({
</div>
)}
- {/* Shift+drag region OCR */}
- {!isLoading && !hasError && renderedImageInfo && naturalDimensions && debouncedFrame?.frameId && (
- <RegionOcrOverlay
- frameId={debouncedFrame.frameId}
- renderedImageInfo={renderedImageInfo}
- naturalDimensions={naturalDimensions}
- userToken={settings.user?.token ?? null}
- />
- )}
+ {/* Shift+drag region OCR — always mount so shift key listener is active */}
+ <RegionOcrOverlay
+ frameId={debouncedFrame?.frameId ?? null}
+ renderedImageInfo={renderedImageInfo}
+ naturalDimensions={naturalDimensions}
+ userToken={settings.user?.token ?? null}
+ />
{/* URL chips — bottom of frame, when no OCR TextOverlay is showing */}
{!isLoading && !hasError && textPositions.length === 0 && detectedUrls.length > 0 && (