Fix the audio input device peak meters

This commit is contained in:
Ken Cooke 2017-11-03 05:59:59 -07:00
parent 6dbffe2367
commit babaef8399

View file

@ -213,8 +213,8 @@ Rectangle {
anchors.right: parent.right anchors.right: parent.right
peak: model.peak; peak: model.peak;
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
visible: (bar.currentIndex === 1 && selectedHMD && isVR) || visible: ((bar.currentIndex === 1 && isVR) ||
(bar.currentIndex === 0 && selectedDesktop && !isVR) && (bar.currentIndex === 0 && !isVR)) &&
Audio.devices.input.peakValuesAvailable; Audio.devices.input.peakValuesAvailable;
} }
} }