mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-04 06:03:21 +02:00
overlays: fix participant overlay z-order
Change-Id: I42826555d7d490f9361465c1629a45e69f262ab7
This commit is contained in:
parent
3d53476b8a
commit
a7fdb82fb7
1 changed files with 9 additions and 3 deletions
|
@ -51,7 +51,7 @@ Item {
|
||||||
property bool participantIsModeratorMuted: false
|
property bool participantIsModeratorMuted: false
|
||||||
property bool participantMenuActive: false
|
property bool participantMenuActive: false
|
||||||
|
|
||||||
z: -1
|
z: 1
|
||||||
|
|
||||||
function setAvatar(show, avatar, uri, local, isContact) {
|
function setAvatar(show, avatar, uri, local, isContact) {
|
||||||
if (!show)
|
if (!show)
|
||||||
|
@ -232,8 +232,14 @@ Item {
|
||||||
// as a parent object or some property passed in. But, this
|
// as a parent object or some property passed in. But, this
|
||||||
// will still fail when hovering over menus, etc.
|
// will still fail when hovering over menus, etc.
|
||||||
}
|
}
|
||||||
onExited: participantRect.opacity = 0
|
onExited: {
|
||||||
onEntered: participantRect.opacity = 1
|
root.z = 1
|
||||||
|
participantRect.opacity = 0
|
||||||
|
}
|
||||||
|
onEntered: {
|
||||||
|
root.z = 2
|
||||||
|
participantRect.opacity = 1
|
||||||
|
}
|
||||||
|
|
||||||
// Timer to decide when ParticipantOverlay fade out
|
// Timer to decide when ParticipantOverlay fade out
|
||||||
Timer {
|
Timer {
|
||||||
|
|
Loading…
Add table
Reference in a new issue