From 0188cc463c973e94ad3db303e762d3fa4c371472 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Sun, 20 Jul 2025 12:49:31 +0200 Subject: [PATCH] UI: Fix dark mode in hotkey settings window --- src/gui/wxgui/input/HotkeySettings.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gui/wxgui/input/HotkeySettings.cpp b/src/gui/wxgui/input/HotkeySettings.cpp index 626bdcd1..a31233d1 100644 --- a/src/gui/wxgui/input/HotkeySettings.cpp +++ b/src/gui/wxgui/input/HotkeySettings.cpp @@ -146,7 +146,6 @@ HotkeySettings::HotkeySettings(wxWindow* parent) m_panel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_SIMPLE); m_panel->SetSizer(m_sizer); - m_panel->SetBackgroundColour(*wxWHITE); Center(); @@ -229,11 +228,7 @@ void HotkeySettings::CreateHotkeyRow(const wxString& label, sHotkeyCfg& cfgHotke keyInput->SetMinSize(m_minButtonSize); controllerInput->SetMinSize(m_minButtonSize); -#if BOOST_OS_WINDOWS - const wxColour inputButtonColor = 0xfafafa; -#else const wxColour inputButtonColor = GetBackgroundColour(); -#endif keyInput->SetBackgroundColour(inputButtonColor); controllerInput->SetBackgroundColour(inputButtonColor);