Improvement Performance optimization

This commit is contained in:
Bruno Herbelin
2024-02-25 21:58:44 +01:00
parent b022be49a1
commit fae5d09001
4 changed files with 18 additions and 12 deletions

View File

@@ -1133,7 +1133,7 @@ void UserInterface::showMenuWindows()
ImGui::Separator();
// Enter / exit Fullscreen
if (Rendering::manager().mainWindow().isFullscreen()){
if (Settings::application.windows[0].fullscreen){
if (ImGui::MenuItem( ICON_FA_COMPRESS_ALT " Exit Fullscreen", SHORTCUT_FULLSCREEN ))
Rendering::manager().mainWindow().toggleFullscreen();
}