diff options
| author | Keith Packard <keithp@keithp.com> | 2018-10-07 10:02:26 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2018-10-07 10:02:26 -0700 | 
| commit | b631f88b0bf19c6740eb21b65bd4be7c25049773 (patch) | |
| tree | d70e4847489a1ac3238eaa713cd23216eb3cf984 | |
| parent | 5c957107ee5917d865eb866319f86cf8c109f212 (diff) | |
altosuilib: InputEvent.getModifiers is deprecated, use getModifiersEx
Some java change; seems like it's a no-op for us.
Signed-off-by: Keith Packard <keithp@keithp.com>
| -rw-r--r-- | altosuilib/AltosUIMap.java | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/altosuilib/AltosUIMap.java b/altosuilib/AltosUIMap.java index 7f114e37..7b9459a1 100644 --- a/altosuilib/AltosUIMap.java +++ b/altosuilib/AltosUIMap.java @@ -106,7 +106,7 @@ public class AltosUIMap extends JComponent implements AltosFlightDisplay, AltosM  		}  		private boolean is_drag_event(MouseEvent e) { -			return e.getModifiers() == InputEvent.BUTTON1_MASK; +			return e.getModifiersEx() == InputEvent.BUTTON1_DOWN_MASK;  		}  		/* MouseMotionListener methods */ | 
