窗口失去焦点时不再自动暂停

This commit is contained in:
Nomango 2017-12-08 19:57:34 +08:00
parent 2e01f9cb1a
commit 4dfa00e97f
2 changed files with 4 additions and 4 deletions

View File

@ -281,12 +281,12 @@ void e2d::EApp::showConsole(bool show /* = true */)
bool e2d::EApp::onActivate()
{
return true;
return false;
}
bool e2d::EApp::onInactive()
{
return true;
return false;
}
bool e2d::EApp::onCloseWindow()

View File

@ -34,12 +34,12 @@ void e2d::EScene::onExit()
bool e2d::EScene::onActivate()
{
return true;
return false;
}
bool e2d::EScene::onInactive()
{
return true;
return false;
}
bool e2d::EScene::onCloseWindow()