I was sure this could not be achieved with an application delegate; an invisible menu would solve the problem, but might be quite cumbersome. Thus I ended up copying much code in this StackOverflow post and it worked nicely.
I'm not sure whether this is the right way to name ("OSX" + "NS" looks unnecessary, but there is already an "OSXApp") and place the inherited class, so please specify if anything is to be changed. Thanks!
Closes aseprite/aseprite#1973.
I was sure this could not be achieved with an application delegate; an invisible menu would solve the problem, but might be quite cumbersome. Thus I ended up copying much code in this StackOverflow post and it worked nicely.
I'm not sure whether this is the right way to name ("OSX" + "NS" looks unnecessary, but there is already an "OSXApp") and place the inherited class, so please specify if anything is to be changed. Thanks!