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:
utopiafallen 2022-10-22 15:55:32 -07:00 committed by Cameron Gutman
parent b55f604294
commit dccd8ec7ef

View File

@ -720,6 +720,7 @@ function playGameMode() {
$("#main-navigation").hide();
$("#main-content").children().not("#listener, #loadingSpinner").hide();
$("#main-content").addClass("fullscreen");
$("#listener").addClass("fullscreen");
fullscreenNaclModule();
$('#loadingSpinner').css('display', 'inline-block');