diff --git a/Easy2D/Base/EApp.cpp b/Easy2D/Base/EApp.cpp index f69e1dd6..2914ef90 100644 --- a/Easy2D/Base/EApp.cpp +++ b/Easy2D/Base/EApp.cpp @@ -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() diff --git a/Easy2D/Base/EScene.cpp b/Easy2D/Base/EScene.cpp index 7e1d9eea..052e20d5 100644 --- a/Easy2D/Base/EScene.cpp +++ b/Easy2D/Base/EScene.cpp @@ -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()