Open ErnWong opened 2 years ago
Computed layout does not faithfully respect the CSS sizes.
Reproduced only on my nixos environment. Does not happen on windows:
The pixel ratio in linux seems off:
In comparison, windows:
Similarly screen.scaleFactor
is 1.0009866952896118
Manually setting image-rendering: pixelated;
on the root html element fixes it for me as a workaround to disable interpolation when scaling, but doesn't fix the weird scaleFactor value behind the scenes.
Easiest way to apply this fix may be to create a new theme
It appears that the underlying canvas is not rendering its image faithfully. Here is a screen capture:
Here is the underlying canvas data (generated by Menu > Developer Tools > right clicking the canvas element > Store as global variable > call toDataURL() on that variable)