mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
fix opacity for containing mouse only
This commit is contained in:
parent
426ffe5a14
commit
c4cccc6ef7
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ Rectangle {
|
|||
onLevelChanged: {
|
||||
var rectOpacity = (muted && (level >= userSpeakingLevel)) ? 1.0 : 0.7;
|
||||
if (pushToTalk && !pushingToTalk) {
|
||||
rectOpacity = (level >= userSpeakingLevel) ? 1.0 : 0.7;
|
||||
rectOpacity = (mouseArea.containsMouse) ? 1.0 : 0.7;
|
||||
} else if (mouseArea.containsMouse && rectOpacity != 1.0) {
|
||||
rectOpacity = 1.0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue