mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
this should be how we want it to work
This commit is contained in:
@@ -88,14 +88,8 @@ public class ThinkDifferent {
|
||||
application.setQuitHandler(new QuitHandler() {
|
||||
public void handleQuitRequestWith(QuitEvent event, QuitResponse response) {
|
||||
sketch.exit();
|
||||
response.performQuit();
|
||||
/*
|
||||
if (base.handleQuit()) {
|
||||
response.performQuit();
|
||||
} else {
|
||||
response.cancelQuit();
|
||||
}
|
||||
*/
|
||||
response.cancelQuit(); // we'll quit manually
|
||||
//response.performQuit(); // can't just quit out willy nilly
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user