p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

Drawing line on touch screen doesn't work in v0.5.5

Open jacorre opened this issue 9 years ago • 3 comments

Please take a look at my pen using a touch screen.

In the pen settings for Javascript, if you use version 0.5.4 for p5.js, drawing a line on a touch screen works fine. If you change the version to 0.5.5, you'll see that no line is drawn.

jacorre avatar Dec 31 '16 00:12 jacorre

confirmed on surface pro. with the surface Pen, there is no pb, but with the finger : works in 0.5.4 and not in 0.5.5 (the version can be changed in "Setting" menu)

Have you tried with the "touch events ? " https://p5js.org/reference/#/p5.Element/touchStarted https://p5js.org/reference/#/p5.Element/touchMoved ... ?

scenaristeur avatar Jan 02 '17 00:01 scenaristeur

this has been fixed (the problem 0.5.5 is touchX/Y is not getting updated), it will be in the next release coming later today!

lmccart avatar Jan 02 '17 00:01 lmccart

Thank you!

jacorre avatar Jan 03 '17 17:01 jacorre