mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-18 00:56:38 +00:00
Hide header bar controls when the NaCl plugin is loading
This commit is contained in:
parent
506bc64b66
commit
06ef1fe94b
@ -32,12 +32,14 @@ function fullscreenChromeWindow() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function changeUiModeForNaClLoad() {
|
function changeUiModeForNaClLoad() {
|
||||||
|
$('.mdl-layout__header').children().hide();
|
||||||
$("#main-content").children().not("#listener, #naclSpinner").hide();
|
$("#main-content").children().not("#listener, #naclSpinner").hide();
|
||||||
$('#naclSpinnerMessage').text('Loading Moonlight plugin...');
|
$('#naclSpinnerMessage').text('Loading Moonlight plugin...');
|
||||||
$('#naclSpinner').css('display', 'inline-block');
|
$('#naclSpinner').css('display', 'inline-block');
|
||||||
}
|
}
|
||||||
|
|
||||||
function restoreUiAfterNaClLoad() {
|
function restoreUiAfterNaClLoad() {
|
||||||
|
$('.mdl-layout__header').children().not("#quitCurrentApp").show();
|
||||||
$("#main-content").children().not("#listener, #naclSpinner, #gameSelection").show();
|
$("#main-content").children().not("#listener, #naclSpinner, #gameSelection").show();
|
||||||
$('#naclSpinner').hide();
|
$('#naclSpinner').hide();
|
||||||
$('#loadingSpinner').css('display', 'none');
|
$('#loadingSpinner').css('display', 'none');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user