]> git.proxmox.com Git - mirror_novnc.git/commit
Fix panning test for high DPI devices
authorSamuel Mannehed <samuel@cendio.se>
Fri, 21 Apr 2017 13:23:18 +0000 (15:23 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Fri, 21 Apr 2017 13:23:18 +0000 (15:23 +0200)
commit0613d18894280549133315ee1251bd350d1ec872
treedf6d87e58885f5904ec058a7880f1a2dad9c1c8c
parente4290d8c00969eb321486e124cbc7ab91c786c43
Fix panning test for high DPI devices

There is a drag-threshold in the panning code which the tests didn't
account for. This caused the tests to fail when window.devicePixelRatio
was higher than 1.
tests/test.rfb.js