mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Fix black screen when starting game stream
Adding fullscreen class to the #listener seems to fix the game stream getting stuck in a black screen. I suspect that #main-content isn't recomputing its layout when #listener is resized.
This commit is contained in:
parent
b55f604294
commit
dccd8ec7ef
@ -720,6 +720,7 @@ function playGameMode() {
|
|||||||
$("#main-navigation").hide();
|
$("#main-navigation").hide();
|
||||||
$("#main-content").children().not("#listener, #loadingSpinner").hide();
|
$("#main-content").children().not("#listener, #loadingSpinner").hide();
|
||||||
$("#main-content").addClass("fullscreen");
|
$("#main-content").addClass("fullscreen");
|
||||||
|
$("#listener").addClass("fullscreen");
|
||||||
|
|
||||||
fullscreenNaclModule();
|
fullscreenNaclModule();
|
||||||
$('#loadingSpinner').css('display', 'inline-block');
|
$('#loadingSpinner').css('display', 'inline-block');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user