Open dolphin007x opened 3 years ago
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)
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.