mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
some fixes for mouse button problems (issue 1350, issue 1373)
This commit is contained in:
@@ -2523,9 +2523,9 @@ public class PApplet extends Applet
|
||||
break;
|
||||
}
|
||||
|
||||
System.out.println(nativeEvent);
|
||||
|
||||
//System.out.println(nativeEvent);
|
||||
//int modifiers = nativeEvent.getModifiersEx();
|
||||
// If using getModifiersEx(), the regular modifiers don't set properly.
|
||||
int modifiers = nativeEvent.getModifiers();
|
||||
|
||||
int peModifiers = modifiers &
|
||||
|
||||
Reference in New Issue
Block a user