mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
ensure jsmpeg canvas is rounded and clipped (#9842)
This commit is contained in:
parent
ac0059cc1a
commit
fa384a7f9d
@ -37,7 +37,9 @@ export default function CameraImage({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`relative w-full h-full flex justify-center ${className}`}
|
||||
className={`relative w-full h-full flex justify-center ${
|
||||
className || ""
|
||||
}`}
|
||||
ref={containerRef}
|
||||
>
|
||||
{enabled ? (
|
||||
|
@ -111,7 +111,7 @@ export default function LivePlayer({
|
||||
} else if (liveMode == "jsmpeg") {
|
||||
player = (
|
||||
<JSMpegPlayer
|
||||
className="w-full flex justify-center"
|
||||
className="w-full flex justify-center rounded-2xl overflow-hidden"
|
||||
camera={cameraConfig.name}
|
||||
width={cameraConfig.detect.width}
|
||||
height={cameraConfig.detect.height}
|
||||
|
Loading…
Reference in New Issue
Block a user