Fix mysterious Y offset in input coordinates

This commit is contained in:
Cameron Gutman committed 2022-11-06 21:18:35 -06:00
1 parent a191915b9d
commit 0eeaec548e
2 files changed
+2 -5

No files matched your search

+1 -1
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() {