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
{{ message }}
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
@mbarwick83 Check out my pull request. If you can't wait until it gets merged in, just see the small code snippet to copy & paste into the source. I took your code and modified it to fit in dynamically into the plugin source.
Any way to implement retina support? Canvas is blurry on retina displays, etc.
I've used this before, but can't seem to get it to work within your code:
// retina conversion
if(window.devicePixelRatio == 2) {
canvas.setAttribute('width', 800);
canvas.setAttribute('height', 160);
ctx.scale(2, 2);
}
The text was updated successfully, but these errors were encountered: