Merge branch 'timeline-hover' of github.com:blakeblackshear/frigate into timeline-hover

This commit is contained in:
Nick Mowen 2023-06-28 06:17:19 -06:00
commit 6fb5fdae51

View File

@ -57,8 +57,8 @@ export default function TimelineEventOverlay({ event, eventOverlay, cameraConfig
{isHovering && ( {isHovering && (
<div className="absolute bg-slate-800 p-4 block text-white text-lg" style={getHoverStyle()}> <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 className="font-bold text-xl">{event.label} attributes:</div>
<div>{`Object Area: ${getObjectArea()} px`}</div> <div>{`Area: ${getObjectArea()} px`}</div>
<div>{`Object Ratio: ${getObjectRatio()}`}</div> <div>{`Ratio: ${getObjectRatio()}`}</div>
</div> </div>
)} )}
</Fragment> </Fragment>