made EVEN MORE mobile compatible (missing screenTransition tips text & license font)
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user