mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 17:14:26 +03:00
prevent handlebar jump when using motion only mode
This commit is contained in:
parent
b2fee81123
commit
cf09fc921d
@ -389,7 +389,7 @@ function useDraggableElement({
|
||||
(time) => time === alignedSegmentTime,
|
||||
);
|
||||
|
||||
if (segmentIndex !== 0) {
|
||||
if (segmentIndex >= 0) {
|
||||
const segmentStart = segmentIndex * segmentHeight;
|
||||
|
||||
const offset =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user