mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-03 19:09:41 +00:00
With high DPI systems we can end up with a container with a size that is not an integer number of CSS pixels. Make sure we can handle those cases by allowing a fractional size for the output canvas. Framebuffer size and viewport coordinates are still restricted to integer dimensions though. Based on initial patch by Alexander E. Patrakov.