diff options
author | Kenneth Russel <[email protected]> | 2009-01-05 21:47:52 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-01-05 21:47:52 +0000 |
commit | c5cb640a428bf9b6d398616dc542ea529a2036d2 (patch) | |
tree | 549c6d969658e84ad743fadcd063fb2895fa2c4a /src | |
parent | d6fdefbf969d93144e86e0a5c60420c26306e7dc (diff) |
Changed Angeles to quit when clickCount is greater than 1.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@314 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index 255dc4e..5833c7c 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -10,7 +10,9 @@ public class Main implements MouseListener { public GLWindow window = null; public void mouseClicked(MouseEvent e) { - quit=true; + if (e.getClickCount() > 1) { + quit=true; + } } public void mouseEntered(MouseEvent e) { } |