mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 05:05:26 +03:00
conditionally render minimap bounds for event segments
This commit is contained in:
parent
ed0931abca
commit
a7f70aa196
@ -205,13 +205,15 @@ export function EventSegment({
|
|||||||
onClick={segmentClick}
|
onClick={segmentClick}
|
||||||
onTouchEnd={(event) => handleTouchStart(event, segmentClick)}
|
onTouchEnd={(event) => handleTouchStart(event, segmentClick)}
|
||||||
>
|
>
|
||||||
<MinimapBounds
|
{showMinimap && (
|
||||||
isFirstSegmentInMinimap={isFirstSegmentInMinimap}
|
<MinimapBounds
|
||||||
isLastSegmentInMinimap={isLastSegmentInMinimap}
|
isFirstSegmentInMinimap={isFirstSegmentInMinimap}
|
||||||
alignedMinimapStartTime={alignedMinimapStartTime}
|
isLastSegmentInMinimap={isLastSegmentInMinimap}
|
||||||
alignedMinimapEndTime={alignedMinimapEndTime}
|
alignedMinimapStartTime={alignedMinimapStartTime}
|
||||||
firstMinimapSegmentRef={firstMinimapSegmentRef}
|
alignedMinimapEndTime={alignedMinimapEndTime}
|
||||||
/>
|
firstMinimapSegmentRef={firstMinimapSegmentRef}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
<Tick timestamp={timestamp} timestampSpread={timestampSpread} />
|
<Tick timestamp={timestamp} timestampSpread={timestampSpread} />
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user