diff --git a/src/mainview/components/ParticipantOverlay.qml b/src/mainview/components/ParticipantOverlay.qml index 2c7b4f720fdb059f1b5076f5448a18b6b12f8d23..b1a03e825aee03bb6937dccef68e3ae7d5df811d 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 {