mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-25 13:40:28 +00:00
Only show the NaCl plugin when a frame has been rendered
This commit is contained in:
1 parent
1f3f4bd0aa
commit
6c13c9b67d
3 files changed
+11
-1
No files matched your search
@@ -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