mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
UI fix for UHD monitors
This commit is contained in:
parent
9315111793
commit
18a6858edd
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user