mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
fix right click in java uis
This commit is contained in:
parent
6240b2a893
commit
35b4cf7880
@ -283,8 +283,7 @@ public class UIUtils {
|
||||
*/
|
||||
public static boolean isRightMouseClick(MouseEvent e) {
|
||||
boolean rval = false;
|
||||
|
||||
if( (e.getModifiersEx()&MouseEvent.BUTTON3_DOWN_MASK)==MouseEvent.BUTTON3_DOWN_MASK ) {
|
||||
if(e.getButton() == 3) {
|
||||
rval = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user