Update web/src/components/TimelineEventOverlay.jsx

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
Nicolas Mowen 2023-06-28 06:13:34 -06:00 committed by GitHub
parent 4f92fa2552
commit ec3c267448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>