p5.touchgui
p5.touchgui copied to clipboard
Library isn't working for me
Is the library not supposed to work with other libraries such as Compass.js and p5.geolocation.js ? Actually I was using some libraries along with p5.touchgui.js, and the GUI button does not seem to work.
The error shown in the console is this :
Uncaught TypeError: canvas.getBoundingClientRect is not a function at Gui._getCanvasPos (p5.touchgui.js:171)
at Gui._onMouseMove (p5.touchgui.js:469)