diff options
author | Sven Gothel <[email protected]> | 2015-09-26 04:29:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-09-26 04:29:43 +0200 |
commit | 5270971814c27e4a7019a9e3c15fcad42fedb9c3 (patch) | |
tree | f821eed18b60e22fcd7a8cdb7018dd0d9f6b4101 /src | |
parent | fe3d6f6b78cc0c5c2bf7e5454a115102313b650f (diff) |
NEWTDemoListener: Fix 'v' modifier collision of ctrl, use shift.
Diffstat (limited to 'src')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java | 2 |
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) { |