aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-09-26 04:29:43 +0200
committerSven Gothel <[email protected]>2015-09-26 04:29:43 +0200
commit5270971814c27e4a7019a9e3c15fcad42fedb9c3 (patch)
treef821eed18b60e22fcd7a8cdb7018dd0d9f6b4101
parentfe3d6f6b78cc0c5c2bf7e5454a115102313b650f (diff)
NEWTDemoListener: Fix 'v' modifier collision of ctrl, use shift.
-rw-r--r--src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java b/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
index afd6ad938..d49ddab42 100644
--- a/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
+++ b/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
@@ -300,7 +300,7 @@ public class NEWTDemoListener extends WindowAdapter implements KeyListener, Mous
glWindow.setVisible(!wasVisible);
printlnState("[set visible post]");
}
- if( wasVisible && !e.isControlDown() ) {
+ if( wasVisible && !e.isShiftDown() ) {
try {
java.lang.Thread.sleep(5000);
} catch (final InterruptedException e) {