1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-21 16:05:26 +02:00

preview: add option to mirror preview on conference

And set default to true

Change-Id: Idc871c5d0497bc4d7e5c137795e9165ca987274d
GitLab: #1039
This commit is contained in:
Sébastien Blin 2023-03-31 10:26:25 -04:00
parent 02a4bb3bb0
commit 712db6ff5c
2 changed files with 2 additions and 1 deletions

View file

@ -58,7 +58,7 @@ extern const QString defaultDownloadPath;
X(LANG, "SYSTEM") \
X(PositionShareDuration, 15) \
X(PositionShareLimit, true) \
X(FlipSelf, false)
X(FlipSelf, true)
/*
* A class to expose settings keys in both c++ and QML.

View file

@ -162,6 +162,7 @@ Rectangle {
if (button === Qt.RightButton) {
var isOnLocal = eventPoint.position.x >= previewRenderer.x && eventPoint.position.x <= previewRenderer.x + previewRenderer.width
isOnLocal &= eventPoint.position.y >= previewRenderer.y && eventPoint.position.y <= previewRenderer.y + previewRenderer.height
isOnLocal |= participantsLayer.hoveredOverlaySinkId.indexOf("camera://") === 0
callOverlay.openCallViewContextMenuInPos(eventPoint.position.x,
eventPoint.position.y,
participantsLayer.hoveredOverlayUri,