Compare commits

...

2 Commits

Author SHA1 Message Date
Lea Anthony
c8e0aea69c v2.0.0-alpha.54 2021-03-19 09:17:18 +11:00
Lea Anthony
7c0b236eb0 Fix for hiding window on close 2021-03-19 09:14:49 +11:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
package main
var version = "v2.0.0-alpha.53"
var version = "v2.0.0-alpha.54"

View File

@@ -270,7 +270,7 @@ void Hide(struct Application *app) {
if( app->shuttingDown ) return;
ON_MAIN_THREAD(
msg(app->application, s("hide:"));
msg(app->mainWindow, s("orderOut:"));
);
}
@@ -1237,12 +1237,12 @@ void createDelegate(struct Application *app) {
}
bool windowShouldClose(id self, SEL cmd, id sender) {
msg(sender, s("orderBack:"));
msg(sender, s("orderOut:"));
return false;
}
bool windowShouldExit(id self, SEL cmd, id sender) {
msg(sender, s("orderBack:"));
msg(sender, s("orderOut:"));
messageFromWindowCallback("WC");
return false;
}