Closed sallf closed 1 year ago
Afaict, the documentation for how to dynamically update the device pixel ratio doesn't work.
handleChangePixelRatio is never called, so the eventListener is never created. I think this should be an effect, rather than a callback.
handleChangePixelRatio
Hi Saylor. This was indeed documented incorrectly. Thanks for your contribution!
Afaict, the documentation for how to dynamically update the device pixel ratio doesn't work.
handleChangePixelRatio
is never called, so the eventListener is never created. I think this should be an effect, rather than a callback.