mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
modified Audio.qml to handle desktop audio level meter visible
This commit is contained in:
parent
51ef37fd27
commit
3cf56210b2
1 changed files with 3 additions and 2 deletions
|
@ -266,6 +266,7 @@ Rectangle {
|
|||
labelTextSize: 16;
|
||||
backgroundOnColor: "#E3E3E3";
|
||||
checked: AudioScriptingInterface.warnWhenMuted;
|
||||
visible: bar.currentIndex === 0 ? false : true;
|
||||
onClicked: {
|
||||
AudioScriptingInterface.warnWhenMuted = checked;
|
||||
checked = Qt.binding(function() { return AudioScriptingInterface.warnWhenMuted; }); // restore binding
|
||||
|
@ -277,8 +278,8 @@ Rectangle {
|
|||
id: audioLevelSwitch
|
||||
height: root.switchHeight;
|
||||
switchWidth: root.switchWidth;
|
||||
anchors.top: warnMutedSwitch.bottom
|
||||
anchors.topMargin: 24
|
||||
anchors.top: bar.currentIndex === 0 ? parent.top : warnMutedSwitch.bottom
|
||||
anchors.topMargin: bar.currentIndex === 0 ? 0 : 24
|
||||
anchors.left: parent.left
|
||||
labelTextOn: qsTr("Audio Level Meter");
|
||||
labelTextSize: 16;
|
||||
|
|
Loading…
Reference in a new issue