mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
fixed old ui filtering of audio devices
This commit is contained in:
parent
7d5dcbfc77
commit
ddfbb55e19
1 changed files with 7 additions and 7 deletions
|
@ -375,14 +375,14 @@ Rectangle {
|
||||||
x: margins.paddings
|
x: margins.paddings
|
||||||
interactive: false;
|
interactive: false;
|
||||||
height: contentHeight;
|
height: contentHeight;
|
||||||
spacing: 4;
|
|
||||||
clip: true;
|
clip: true;
|
||||||
model: AudioScriptingInterface.devices.input;
|
model: AudioScriptingInterface.devices.input;
|
||||||
delegate: Item {
|
delegate: Item {
|
||||||
width: rightMostInputLevelPos - margins.paddings*2
|
width: rightMostInputLevelPos - margins.paddings*2
|
||||||
height: margins.sizeCheckBox > checkBoxInput.implicitHeight ?
|
height: ((type != "hmd" && bar.currentIndex === 0) || (type != "desktop" && bar.currentIndex === 1)) ?
|
||||||
margins.sizeCheckBox : checkBoxInput.implicitHeight
|
(margins.sizeCheckBox > checkBoxInput.implicitHeight ? margins.sizeCheckBox + 4 : checkBoxInput.implicitHeight + 4) : 0
|
||||||
|
visible: (type != "hmd" && bar.currentIndex === 0) || (type != "desktop" && bar.currentIndex === 1)
|
||||||
AudioControls.CheckBox {
|
AudioControls.CheckBox {
|
||||||
id: checkBoxInput
|
id: checkBoxInput
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
@ -470,13 +470,13 @@ Rectangle {
|
||||||
height: contentHeight;
|
height: contentHeight;
|
||||||
anchors.top: outputDeviceHeader.bottom;
|
anchors.top: outputDeviceHeader.bottom;
|
||||||
anchors.topMargin: 10;
|
anchors.topMargin: 10;
|
||||||
spacing: 4;
|
|
||||||
clip: true;
|
clip: true;
|
||||||
model: AudioScriptingInterface.devices.output;
|
model: AudioScriptingInterface.devices.output;
|
||||||
delegate: Item {
|
delegate: Item {
|
||||||
width: rightMostInputLevelPos
|
width: rightMostInputLevelPos
|
||||||
height: margins.sizeCheckBox > checkBoxOutput.implicitHeight ?
|
height: ((type != "hmd" && bar.currentIndex === 0) || (type != "desktop" && bar.currentIndex === 1)) ?
|
||||||
margins.sizeCheckBox : checkBoxOutput.implicitHeight
|
(margins.sizeCheckBox > checkBoxOutput.implicitHeight ? margins.sizeCheckBox + 4 : checkBoxOutput.implicitHeight + 4) : 0
|
||||||
|
visible: (type != "hmd" && bar.currentIndex === 0) || (type != "desktop" && bar.currentIndex === 1)
|
||||||
|
|
||||||
AudioControls.CheckBox {
|
AudioControls.CheckBox {
|
||||||
id: checkBoxOutput
|
id: checkBoxOutput
|
||||||
|
|
Loading…
Reference in a new issue