mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Update web/src/components/TimelineEventOverlay.jsx
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
parent
4f92fa2552
commit
ec3c267448
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user