mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:supports dark mode on linux systems
Change-Id: I424f4a686ffe0d25075022b7e58c89d2683fcea2
This commit is contained in:
@@ -2354,7 +2354,7 @@ bool GUI_App::on_init_inner()
|
||||
load_language(wxString(), true);
|
||||
#ifdef _MSW_DARK_MODE
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef __WINDOWS__
|
||||
wxSystemAppearance app = wxSystemSettings::GetAppearance();
|
||||
GUI::wxGetApp().app_config->set("dark_color_mode", app.IsDark() ? "1" : "0");
|
||||
GUI::wxGetApp().app_config->save();
|
||||
|
||||
Reference in New Issue
Block a user