]> git.proxmox.com Git - mirror_novnc.git/commit
Wait for proper image load event
authorPierre Ossman <ossman@cendio.se>
Thu, 22 Sep 2016 08:28:35 +0000 (10:28 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Mon, 24 Oct 2016 12:42:13 +0000 (14:42 +0200)
commitbb6965f2e60c2301dd638383bdc792d1f10af942
tree936a7b58d88df016b9177fde072661cc03e61b45
parent1578fa68ac754ed1ca29431a87586b2463d354db
Wait for proper image load event

There is a specific event for when an image has finished loading,
so trigger on that rather than polling. The polling interval of
requestAnimationFrame() can also be very large.
core/display.js
tests/test.display.js