Closed bbrks closed 9 years ago
By scaling the canvas width/height by window.devicePixelRatio (or 1 for a fallback) we can enable HiDPI support.
Optionally, we can also scale the line width on line 13 in ShaderOverlayView.coffee, but IMO it isn't needed.
Before & After example:
By scaling the canvas width/height by window.devicePixelRatio (or 1 for a fallback) we can enable HiDPI support.
Optionally, we can also scale the line width on line 13 in ShaderOverlayView.coffee, but IMO it isn't needed.
Before & After example: