mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-19 17:44:54 +00:00
UI fix for UHD monitors
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
// Typescript V2.4.1
|
// Typescript V2.4.1
|
||||||
|
|
||||||
let RENDERER_WIDTH = document.getElementById("game").clientWidth * window.devicePixelRatio;
|
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;
|
let DEBUG: boolean;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user