mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 06:32:35 +02:00
Fix Noise Reduction visibility in Audio.qml
This commit is contained in:
parent
5b1549a24e
commit
97fdd372af
1 changed files with 2 additions and 1 deletions
|
@ -583,6 +583,7 @@ Rectangle {
|
|||
labelTextSize: 16;
|
||||
backgroundOnColor: "#E3E3E3";
|
||||
checked: AudioScriptingInterface.noiseReductionAutomatic;
|
||||
visible: AudioScriptingInterface.noiseReduction === true;
|
||||
onCheckedChanged: {
|
||||
AudioScriptingInterface.noiseReductionAutomatic = checked;
|
||||
checked = Qt.binding(function() { return AudioScriptingInterface.noiseReductionAutomatic; }); // restore binding
|
||||
|
@ -598,7 +599,7 @@ Rectangle {
|
|||
anchors.topMargin: 16;
|
||||
width: parent.width - margins.paddings*2;
|
||||
height: avatarGainSliderTextMetrics.height;
|
||||
visible: AudioScriptingInterface.noiseReductionAutomatic !== true;
|
||||
visible: AudioScriptingInterface.noiseReduction === true && AudioScriptingInterface.noiseReductionAutomatic !== true;
|
||||
|
||||
HifiControlsUit.Slider {
|
||||
id: noiseReductionThresholdSlider
|
||||
|
|
Loading…
Reference in a new issue