NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix timeline upward scrolling limit (#10673)
Josh Hawkins71c7504de535
diff --git a/web/src/hooks/use-draggable-element.ts b/web/src/hooks/use-draggable-element.tsindex 1457dd480a..11242cdf41 100644--- a/web/src/hooks/use-draggable-element.ts+++ b/web/src/hooks/use-draggable-element.ts@@ -240,7 +240,7 @@ function useDraggableElement({// top of timeline - default 2 segments added for draggableElement visibilityconst elementLatest = draggableElementLatestTime? timestampToPixels(draggableElementLatestTime)- : segmentHeight * 2 + scrolled;+ : segmentHeight * 1.5;const timelineRect = timelineRef.current.getBoundingClientRect();const timelineTopAbsolute = timelineRect.top;