Hi @maxkfranz, @bumbu , this PR is for fixing the demo for issue #7 and for fix the high CPU demand on #8.
To limit the rendering requests on the navigator, I've removed the requestAnimationLoop.
The event listener will manage the rendering updates, that are in a way limited to thanks to the requestAnimationFrame and the _thumbnailUpdating check.
I've add also the style property to the event listener.
Finally just an update on the demo.html cytoscape CDN library solving issue #7
Hi @maxkfranz, @bumbu , this PR is for fixing the demo for issue #7 and for fix the high CPU demand on #8.
To limit the rendering requests on the navigator, I've removed the requestAnimationLoop.
The event listener will manage the rendering updates, that are in a way limited to thanks to the requestAnimationFrame and the _thumbnailUpdating check.
I've add also the style property to the event listener.
Finally just an update on the demo.html cytoscape CDN library solving issue #7