mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-09 17:14:47 -06:00
UI: Fix dark mode in hotkey settings window
This commit is contained in:
parent
c025e01a18
commit
0188cc463c
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user