Skip to content
Snippets Groups Projects
Commit a7fdb82f authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

overlays: fix participant overlay z-order

Change-Id: I42826555d7d490f9361465c1629a45e69f262ab7
parent 3d53476b
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ Item { ...@@ -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 { ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment