mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-19 13:44:20 +02:00
don't display gated state
This commit is contained in:
parent
49c3dfa52c
commit
48b4fe37b4
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ Rectangle {
|
|||
}
|
||||
|
||||
onLevelChanged: {
|
||||
var rectOpacity = AudioScriptingInterface.muted && (level >= userSpeakingLevel)? 0.9 : 0.3;
|
||||
if (mouseArea.containsMouse) {
|
||||
var rectOpacity = muted && (level >= userSpeakingLevel) ? 0.9 : 0.3;
|
||||
if (mouseArea.containsMouse && rectOpacity != 0.9) {
|
||||
rectOpacity = 0.5;
|
||||
}
|
||||
opacity = rectOpacity;
|
||||
|
|
Loading…
Reference in a new issue