Fix mysterious Y offset in input coordinates

This commit is contained in:
Cameron Gutman
2022-11-06 21:18:35 -06:00
parent a191915b9d
commit 0eeaec548e
2 changed files with 2 additions and 5 deletions

View File

@@ -741,7 +741,7 @@ function fullscreenNaclModule() {
var module = $("#nacl_module")[0];
module.width = zoom * streamWidth;
module.height = zoom * streamHeight;
module.style.paddingTop = ((screenHeight - module.height) / 2) + "px";
module.style.marginTop = ((screenHeight - module.height) / 2) + "px";
}
function stopGameWithConfirmation() {