mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
fix timeline upward scrolling limit (#10673)
This commit is contained in:
parent
6dd6ca5de5
commit
71c7504de5
@ -240,7 +240,7 @@ function useDraggableElement({
|
||||
// top of timeline - default 2 segments added for draggableElement visibility
|
||||
const elementLatest = draggableElementLatestTime
|
||||
? timestampToPixels(draggableElementLatestTime)
|
||||
: segmentHeight * 2 + scrolled;
|
||||
: segmentHeight * 1.5;
|
||||
|
||||
const timelineRect = timelineRef.current.getBoundingClientRect();
|
||||
const timelineTopAbsolute = timelineRect.top;
|
||||
|
Loading…
Reference in New Issue
Block a user