mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-19 01:17:06 +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,
|
(time) => time === alignedSegmentTime,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (segmentIndex !== 0) {
|
if (segmentIndex >= 0) {
|
||||||
const segmentStart = segmentIndex * segmentHeight;
|
const segmentStart = segmentIndex * segmentHeight;
|
||||||
|
|
||||||
const offset =
|
const offset =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user