From 3b1201f792e9537655f036edbf69fd058b184e69 Mon Sep 17 00:00:00 2001
From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com>
Date: Wed, 6 Apr 2022 08:53:29 -0400
Subject: [PATCH] video-split: rounded corners in active participant

Change-Id: I4176e7ea772c3471f153f8069958566ddcf0c384
---
 src/mainview/components/ParticipantOverlay.qml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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