From 18a6858eddfd410e38b7692c7b7e95f9148bf780 Mon Sep 17 00:00:00 2001 From: simon987 Date: Mon, 14 Sep 2020 20:33:09 -0400 Subject: [PATCH] UI fix for UHD monitors --- src/main/typescript/mar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/typescript/mar.ts b/src/main/typescript/mar.ts index 0546011..64bffbb 100644 --- a/src/main/typescript/mar.ts +++ b/src/main/typescript/mar.ts @@ -1,7 +1,7 @@ // Typescript V2.4.1 let RENDERER_WIDTH = document.getElementById("game").clientWidth * window.devicePixelRatio; -let RENDERER_HEIGHT = (window.innerHeight - 220) * window.devicePixelRatio; +let RENDERER_HEIGHT = (window.innerHeight - 220); let DEBUG: boolean;