зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1042163 - Visual issues with the global indicator for screen/device sharing, r=Gijs.
--HG-- extra : rebase_source : b9859df1822175a7ff322c08d76cb1f437775650
This commit is contained in:
Родитель
c5de232bd4
Коммит
190e95c053
|
@ -92,7 +92,8 @@ function onPopupMenuShowing(event) {
|
|||
|
||||
if (activeStreams.length == 1) {
|
||||
webrtcUI.showSharingDoorhanger(activeStreams[0], type);
|
||||
return false;
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
for (let stream of activeStreams) {
|
||||
|
@ -102,8 +103,6 @@ function onPopupMenuShowing(event) {
|
|||
item.stream = stream;
|
||||
popup.appendChild(item);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function onPopupMenuHiding(event) {
|
||||
|
|
|
@ -109,3 +109,8 @@ window[sharingscreen][sharingvideo] > #shareSeparator,
|
|||
window[sharingscreen][sharingaudio] > #shareSeparator {
|
||||
display: -moz-box;
|
||||
}
|
||||
|
||||
:-moz-any(#audioVideoButton, #screenShareButton,
|
||||
#firefoxButton):-moz-focusring > .button-box {
|
||||
border: none;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче