]> git.proxmox.com Git - mirror_novnc.git/commit
Properly encapsulate the scale in Display
authorSamuel Mannehed <samuel@cendio.se>
Thu, 16 Feb 2017 12:32:11 +0000 (13:32 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Thu, 16 Feb 2017 13:00:39 +0000 (14:00 +0100)
commit280676c7e9df28f703003f68340989d30b2c0f48
treefd48110bc120064b2da424f78fad3c77d0d87293
parent8cbf1dd9d220950ea5163a3c2da2ebca0c7bc450
Properly encapsulate the scale in Display

Other parts of the code shouldn't have to care about this. Let Display
convert between canvas coordinates and framebuffer coordinates.
app/ui.js
core/display.js
core/input/devices.js
tests/test.display.js