You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It returns two right clicks (or two left) instead of one left and one right
Snippet:
this.focus();functionsetup(){createCanvas(400,400);window.addEventListener("contextmenu",e=>e.preventDefault());}functiondraw(){background(220);text("push down left and right mouse buttons, then release",40,40);}functionmouseReleased(){print(mouseButton);}
The text was updated successfully, but these errors were encountered:
Most appropriate sub-area of p5.js?
p5.js version
1.4.1
Web browser and version
103.0.5060.134
Operating System
Windows 10
Steps to reproduce this
Steps:
It returns two right clicks (or two left) instead of one left and one right
Snippet:
The text was updated successfully, but these errors were encountered: