mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX:optimized some ui for macos
Change-Id: I0451edc06d9dadfef3b9d1087bb863b4666bb276
This commit is contained in:
@@ -491,6 +491,7 @@ wxBoxSizer* PreferencesDialog::create_item_darkmode_checkbox(wxString title, wxW
|
||||
checkbox->Bind(wxEVT_TOGGLEBUTTON, [this, checkbox, param](wxCommandEvent& e) {
|
||||
app_config->set(param, checkbox->GetValue() ? "1" : "0");
|
||||
app_config->save();
|
||||
wxGetApp().Update_dark_mode_flag();
|
||||
|
||||
//dark mode
|
||||
#ifdef _MSW_DARK_MODE
|
||||
|
||||
Reference in New Issue
Block a user