added pixelDensity recalculation on window resize
This commit is contained in:
@@ -11,6 +11,5 @@ function calcPixelDensity() {
|
||||
|
||||
pxDensity = parseFloat(getComputedStyle(document.body).getPropertyValue("--pxDensity"))
|
||||
|
||||
console.log("pxDensity: " + getComputedStyle(document.body).getPropertyValue("--pxDensity"))
|
||||
pxDensityDefined = true
|
||||
}
|
||||
Reference in New Issue
Block a user