summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/demos/es1/angeles/Main.java4
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) {
}