#985 (comment)
Right now the canvas size is changed based on window.devicePixelRatio, one idea is to disable this type fo scaling (see how VS Code's minimap doesn't change when zooming) and then scale manually by applying a multiplier to relevant numbers.
Applies to WebGL and canvas renderers.