Skip to content
Snippets Groups Projects
Commit 9924a536 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

participantslayer: fix visibility of buttons

If a participant is maximised and minimized while active, the
button is not correctly displayed

Change-Id: I15a32e4f2bbbcd49b3448fb7f241edb6ad37250b
parent 087fadfc
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,7 @@ Item { ...@@ -131,6 +131,7 @@ Item {
radius: 10 radius: 10
text: "<" text: "<"
visible: genericParticipantsRect.currentPos > 0 visible: genericParticipantsRect.currentPos > 0
&& activeParticipantsFlow.visible
onClicked: { onClicked: {
if (genericParticipantsRect.currentPos > 0) if (genericParticipantsRect.currentPos > 0)
genericParticipantsRect.currentPos-- genericParticipantsRect.currentPos--
...@@ -239,6 +240,7 @@ Item { ...@@ -239,6 +240,7 @@ Item {
radius: 10 radius: 10
text: ">" text: ">"
visible: genericParticipantsRect.topLimit - genericParticipantsRect.showable > genericParticipantsRect.currentPos visible: genericParticipantsRect.topLimit - genericParticipantsRect.showable > genericParticipantsRect.currentPos
&& activeParticipantsFlow.visible
onClicked: { onClicked: {
if (genericParticipantsRect.topLimit - genericParticipantsRect.showable > genericParticipantsRect.currentPos) if (genericParticipantsRect.topLimit - genericParticipantsRect.showable > genericParticipantsRect.currentPos)
genericParticipantsRect.currentPos++ genericParticipantsRect.currentPos++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment