mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-24 00:46:48 +00:00
Only show the NaCl plugin when a frame has been rendered
This commit is contained in:
@@ -340,7 +340,6 @@ function playGameMode() {
|
||||
$(".mdl-layout__header").hide();
|
||||
$("#main-content").children().not("#listener, #loadingSpinner").hide();
|
||||
$("#main-content").addClass("fullscreen");
|
||||
$("#listener").addClass("fullscreen");
|
||||
fullscreenNaclModule();
|
||||
$("body").css('backgroundColor', 'black');
|
||||
|
||||
|
||||
@@ -32,6 +32,8 @@ function handleMessage(msg) {
|
||||
$('#loadingMessage').text(msg.data.replace('ProgressMsg: ', ''));
|
||||
} else if(msg.data.indexOf('TransientMsg: ') === 0) {
|
||||
snackbarLog(msg.data.replace('TransientMsg: ', ''));
|
||||
} else if(msg.data === 'displayVideo') {
|
||||
$("#listener").addClass("fullscreen");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user