mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
caught a couple of edge cases for mic states
This commit is contained in:
parent
7879dbf687
commit
538b15dd57
1 changed files with 3 additions and 3 deletions
|
@ -122,7 +122,7 @@ Rectangle {
|
|||
|
||||
ColorOverlay {
|
||||
opacity: mouseArea.containsMouse ? 1.0 : 0.7
|
||||
visible: level === 0 || micBar.muted
|
||||
visible: level === 0 || micBar.muted || micBar.clipping
|
||||
id: imageOverlay
|
||||
anchors { fill: image }
|
||||
source: image
|
||||
|
@ -131,7 +131,7 @@ Rectangle {
|
|||
|
||||
OpacityMask {
|
||||
id: bar
|
||||
visible: level > 0 && !micBar.muted
|
||||
visible: level > 0 && !micBar.muted && !micBar.clipping
|
||||
anchors.fill: meterGradient
|
||||
source: meterGradient
|
||||
maskSource: image
|
||||
|
@ -179,7 +179,7 @@ Rectangle {
|
|||
}
|
||||
|
||||
ColorOverlay {
|
||||
visible: level > 0 && !micBar.muted
|
||||
visible: level > 0 && !micBar.muted && !micBar.clipping
|
||||
anchors { fill: maskImage }
|
||||
source: maskImage
|
||||
color: "#b2b2b2"
|
||||
|
|
Loading…
Reference in a new issue