1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-01 04:33:39 +02:00

overlays: fix participant overlay z-order

Change-Id: I42826555d7d490f9361465c1629a45e69f262ab7
This commit is contained in:
Andreas Traczyk 2021-06-02 12:20:14 -04:00
parent 3d53476b8a
commit a7fdb82fb7

View file

@ -51,7 +51,7 @@ Item {
property bool participantIsModeratorMuted: false
property bool participantMenuActive: false
z: -1
z: 1
function setAvatar(show, avatar, uri, local, isContact) {
if (!show)
@ -232,8 +232,14 @@ Item {
// as a parent object or some property passed in. But, this
// will still fail when hovering over menus, etc.
}
onExited: participantRect.opacity = 0
onEntered: participantRect.opacity = 1
onExited: {
root.z = 1
participantRect.opacity = 0
}
onEntered: {
root.z = 2
participantRect.opacity = 1
}
// Timer to decide when ParticipantOverlay fade out
Timer {