projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c95710
)
altosuilib: InputEvent.getModifiers is deprecated, use getModifiersEx
author
Keith Packard
<keithp@keithp.com>
Sun, 7 Oct 2018 17:02:26 +0000
(10:02 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 7 Oct 2018 17:02:26 +0000
(10:02 -0700)
Some java change; seems like it's a no-op for us.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosuilib/AltosUIMap.java
patch
|
blob
|
history
diff --git
a/altosuilib/AltosUIMap.java
b/altosuilib/AltosUIMap.java
index 7f114e3745a3b915208dd4740b9f5ba8dbe5afc7..7b9459a128068adabce4501d2c84ee06573df983 100644
(file)
--- 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) {
}
private boolean is_drag_event(MouseEvent e) {
- return e.getModifiers
() == InputEvent.BUTTON1
_MASK;
+ return e.getModifiers
Ex() == InputEvent.BUTTON1_DOWN
_MASK;
}
/* MouseMotionListener methods */
}
/* MouseMotionListener methods */