mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Fix seperator and move up inputLevel
This commit is contained in:
parent
ee6de9e868
commit
d4f79413eb
1 changed files with 12 additions and 11 deletions
|
@ -558,6 +558,16 @@ Rectangle {
|
||||||
anchors { left: parent.left; leftMargin: margins.paddings }
|
anchors { left: parent.left; leftMargin: margins.paddings }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AudioControls.InputPeak {
|
||||||
|
id: inputLevel
|
||||||
|
anchors.right: parent.right
|
||||||
|
peak: model.peak;
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
visible: ((bar.currentIndex === 1 && isVR) ||
|
||||||
|
(bar.currentIndex === 0 && !isVR)) &&
|
||||||
|
AudioScriptingInterface.devices.input.peakValuesAvailable;
|
||||||
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: inputView;
|
id: inputView;
|
||||||
width: rightMostInputLevelPos;
|
width: rightMostInputLevelPos;
|
||||||
|
@ -594,22 +604,13 @@ Rectangle {
|
||||||
AudioScriptingInterface.setInputDevice(info, bar.currentIndex === 1);
|
AudioScriptingInterface.setInputDevice(info, bar.currentIndex === 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AudioControls.InputPeak {
|
|
||||||
id: inputLevel
|
|
||||||
anchors.right: parent.right
|
|
||||||
peak: model.peak;
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
visible: ((bar.currentIndex === 1 && isVR) ||
|
|
||||||
(bar.currentIndex === 0 && !isVR)) &&
|
|
||||||
AudioScriptingInterface.devices.input.peakValuesAvailable;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Separator {
|
Separator {
|
||||||
id: thirdSeparator;
|
id: thirdSeparator;
|
||||||
anchors.top: loopbackAudio.visible ? loopbackAudio.bottom : inputView.bottom;
|
anchors.top: inputView.visible ? inputView.bottom : outputDeviceHeader.bottom;
|
||||||
anchors.topMargin: 10;
|
anchors.topMargin: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue