You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
window.devicePixelRatio can change, for example when the user zooms or drags the window to another display. I am currently using the following (based on boilerplate code from MDN) to track the changes:
Describe the problem
window.devicePixelRatio
can change, for example when the user zooms or drags the window to another display. I am currently using the following (based on boilerplate code from MDN) to track the changes:It would be convenient if Svelte provided this functionality through
svelte:window
.Describe the proposed solution
Alternatives considered
The alternative is just to use the boilerplate code.
Importance
nice to have
The text was updated successfully, but these errors were encountered: