Remove audio-only indicator on participants.

Keep mute indicator and change color.
This commit is contained in:
Julien Wadel 2022-06-29 13:35:39 +02:00
parent 668feaff71
commit 0fc7d4e73d
2 changed files with 6 additions and 27 deletions

View file

@ -155,9 +155,9 @@ Item{
}
Rectangle{
visible: mainItem.currentDevice && mainItem.currentDevice.isMuted
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.leftMargin: 15
anchors.rightMargin: 15
anchors.topMargin: 15
height: CameraViewStyle.isMuted.button.iconSize
width: height
@ -170,25 +170,4 @@ Item{
iconSize: CameraViewStyle.isMuted.button.iconSize
}
}
Rectangle{
visible: (mainItem.callModel && !mainItem.callModel.videoEnabled) ||
(mainItem.currentDevice && !mainItem.currentDevice.videoEnabled)
anchors.right: parent.right
anchors.top: parent.top
anchors.rightMargin: 15
anchors.topMargin: 15
height: CameraViewStyle.isAudioOnly.button.iconSize
width: height
radius: width/2
color: CameraViewStyle.isAudioOnly.button.backgroundNormalColor
Icon{
anchors.centerIn: parent
icon: CameraViewStyle.isAudioOnly.button.icon
overwriteColor: CameraViewStyle.isAudioOnly.button.foregroundNormalColor
iconSize: CameraViewStyle.isAudioOnly.button.iconSize
}
}
}

View file

@ -51,9 +51,9 @@ QtObject {
}
}
property QtObject isMuted: QtObject{
property color backgroundColor : ColorsList.add(sectionName+'_isMuted_bg', 'l').color
property color backgroundColor : ColorsList.add(sectionName+'_isMuted_bg', 'j').color
property QtObject button: QtObject {
property int iconSize: 40
property int iconSize: 30
property string icon : 'micro_off_custom'
property string name : 'isMuted'
property color backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg', icon, 's_d_b_bg').color
@ -61,9 +61,9 @@ QtObject {
}
}
property QtObject isAudioOnly: QtObject{
property color backgroundColor : ColorsList.add(sectionName+'_isAudioOnly_bg', 'l').color
property color backgroundColor : ColorsList.add(sectionName+'_isAudioOnly_bg', 'j').color
property QtObject button: QtObject {
property int iconSize: 40
property int iconSize: 30
property string icon : 'conference_audio_only_custom'
property string name : 'isAudioOnly'
property color backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg', icon, 's_d_b_bg').color