Fix a bug when changing themes (some properties where not updated due to cached properties).

Fix a bug when displaying sub-menus, it was sometimes incorrectly positioned.
This commit is contained in:
Martín Lucas Golini
2025-04-20 12:41:36 -03:00
parent 53aba9d887
commit 5f9d2bd5ea
13 changed files with 77 additions and 28 deletions

View File

@@ -1669,7 +1669,7 @@ void App::setTheme( const std::string& path ) {
mTheme = theme;
mUISceneNode->reloadStyle( true, true );
mUISceneNode->reloadStyle( true, true, true );
if ( !firstFrame )
mPluginManager->setUIThemeReloaded();