зеркало из https://github.com/nextcloud/spreed.git
Set dark style icon to screensharing button when local video is disabled.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
fc4c4ae77b
Коммит
7cd7abd947
|
@ -378,7 +378,8 @@ video {
|
|||
#app-content:not(.incall):not(.screensharing) .icon-white.icon-shadow {
|
||||
/* Still use white icons outside of calls when local video shows */
|
||||
&#hideVideo.video-disabled,
|
||||
&#mute.video-disabled {
|
||||
&#mute.video-disabled,
|
||||
&#screensharing-button.video-disabled {
|
||||
filter: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -707,6 +707,7 @@
|
|||
|
||||
var $hideVideoButton = $('#hideVideo');
|
||||
var $audioMuteButton = $('#mute');
|
||||
var $screensharingButton = $('#screensharing-button');
|
||||
var avatarContainer = $hideVideoButton.closest('.videoView').find('.avatar-container');
|
||||
var localVideo = $hideVideoButton.closest('.videoView').find('#localVideo');
|
||||
|
||||
|
@ -715,6 +716,7 @@
|
|||
.removeClass('video-disabled icon-video-off')
|
||||
.addClass('icon-video');
|
||||
$audioMuteButton.removeClass('video-disabled');
|
||||
$screensharingButton.removeClass('video-disabled');
|
||||
|
||||
avatarContainer.hide();
|
||||
localVideo.show();
|
||||
|
@ -728,6 +730,7 @@
|
|||
|
||||
var $hideVideoButton = $('#hideVideo');
|
||||
var $audioMuteButton = $('#mute');
|
||||
var $screensharingButton = $('#screensharing-button');
|
||||
var avatarContainer = $hideVideoButton.closest('.videoView').find('.avatar-container');
|
||||
var localVideo = $hideVideoButton.closest('.videoView').find('#localVideo');
|
||||
|
||||
|
@ -736,6 +739,7 @@
|
|||
.addClass('video-disabled icon-video-off')
|
||||
.removeClass('icon-video');
|
||||
$audioMuteButton.addClass('video-disabled');
|
||||
$screensharingButton.addClass('video-disabled');
|
||||
}
|
||||
|
||||
var avatar = avatarContainer.find('.avatar');
|
||||
|
|
Загрузка…
Ссылка в новой задаче