mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Merge branch 'timeline-hover' of github.com:blakeblackshear/frigate into timeline-hover
This commit is contained in:
commit
6fb5fdae51
@ -57,8 +57,8 @@ export default function TimelineEventOverlay({ event, eventOverlay, cameraConfig
|
||||
{isHovering && (
|
||||
<div className="absolute bg-slate-800 p-4 block text-white text-lg" style={getHoverStyle()}>
|
||||
<div className="font-bold text-xl">{event.label} attributes:</div>
|
||||
<div>{`Object Area: ${getObjectArea()} px`}</div>
|
||||
<div>{`Object Ratio: ${getObjectRatio()}`}</div>
|
||||
<div>{`Area: ${getObjectArea()} px`}</div>
|
||||
<div>{`Ratio: ${getObjectRatio()}`}</div>
|
||||
</div>
|
||||
)}
|
||||
</Fragment>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user