diff --git a/src/mainview/components/ParticipantOverlay.qml b/src/mainview/components/ParticipantOverlay.qml index 2c7b4f72..b1a03e82 100644 --- a/src/mainview/components/ParticipantOverlay.qml +++ b/src/mainview/components/ParticipantOverlay.qml @@ -120,7 +120,10 @@ Item { overlayItems: Rectangle { id: overlayRect - anchors.fill: parent + width: participantIsActive ? mediaDistRender.contentRect.width : undefined + height: participantIsActive ? mediaDistRender.contentRect.height : undefined + anchors.centerIn: participantIsActive ? parent : undefined + anchors.fill: participantIsActive ? undefined : parent color: "transparent" Item {