made EVEN MORE mobile compatible (missing screenTransition tips text & license font)

This commit is contained in:
2025-01-27 21:15:59 +01:00
parent 4744c4ba1c
commit edfc47c1cc
11 changed files with 39 additions and 25 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
let pxDensity = parseFloat(getComputedStyle(document.body).getPropertyValue("--pxDensity"))
let pxDensity = 1
let pxDensityDefined = false
let pxWidth = 256
@@ -16,7 +16,7 @@ function calcPixelDensity() {
document.documentElement.style.setProperty("--pxDensity", widest)
document.documentElement.style.setProperty("--pxDensityPx", `${widest}px`)
pxDensity = parseFloat(getComputedStyle(document.body).getPropertyValue("--pxDensity"))
pxDensity = widest
pxDensityDefined = true
}