ecode macOS fixes (WIP)

This commit is contained in:
Martín Lucas Golini
2023-07-18 02:32:07 -04:00
parent 6b7f6f85ac
commit 9e1549647b
4 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -170,7 +170,9 @@ void App::setAppTitle( const std::string& title ) {
if ( mBenchmarkMode )
fullTitle += " - " + String::toString( mWindow->getFPS() ) + " FPS";
mWindow->setTitle( fullTitle );
mUISceneNode->runOnMainThread( [this, fullTitle] {
mWindow->setTitle( fullTitle );
} );
}
void App::onDocumentModified( UICodeEditor* editor, TextDocument& ) {