From f5c39011d6fb6e8b990ab56a16a8b533bfcb90d1 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Thu, 21 Jan 2021 00:08:04 +0100 Subject: [PATCH] Hide buttons on recent screen even with simple UI disabled We have settings on other screens to access it now. --- UI/MainScreen.cpp | 2 +- ext/native/tools/atlastool/atlastool.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 308b0daf35..14c6addadc 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -639,7 +639,7 @@ void GameBrowser::Refresh() { auto mm = GetI18NCategory("MainMenu"); // No topbar with SimpleUI - if (!g_Config.bSimpleUI) { //(DisplayTopBar()) { // No topbar on recent screen + if (!g_Config.bSimpleUI && DisplayTopBar()) { // No topbar on recent screen LinearLayout *topBar = new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)); if (browseFlags_ & BrowseFlags::NAVIGATE) { topBar->Add(new Spacer(2.0f)); diff --git a/ext/native/tools/atlastool/atlastool.vcxproj b/ext/native/tools/atlastool/atlastool.vcxproj index dbbfbfefee..08f36e1777 100644 --- a/ext/native/tools/atlastool/atlastool.vcxproj +++ b/ext/native/tools/atlastool/atlastool.vcxproj @@ -31,7 +31,7 @@ Application true - v141 + $(DefaultPlatformToolset) Unicode