mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 02:26:29 +03:00
Fix app close on macOS.
This commit is contained in:
@@ -3322,7 +3322,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
|
||||
|
||||
mWindow->setQuitCallback( [this]( EE::Window::Window* win ) {
|
||||
if ( mWindow->isOpen() )
|
||||
onCloseRequestCallback( win );
|
||||
closeApp();
|
||||
} );
|
||||
|
||||
mWindow->getInput()->pushCallback( [this]( InputEvent* event ) {
|
||||
|
||||
Reference in New Issue
Block a user