mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 16:40:37 +08:00
FIX:use the correct method to update the dark mode of the window
jira:[STUDIO-11511] Change-Id: Ie359e391e3d511729b4a777376b89e5bceda161c
This commit is contained in:
parent
43bcbe63a0
commit
bdc864bf10
@ -24,7 +24,7 @@ static std::string float_to_string_with_precision(float value, int precision = 3
|
||||
}
|
||||
|
||||
AMSMaterialsSetting::AMSMaterialsSetting(wxWindow *parent, wxWindowID id)
|
||||
: DPIDialog(parent, id, _L("AMS Materials Setting"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE)
|
||||
: DPIDialog(parent, id, _L("AMS Materials Setting"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX)
|
||||
, m_color_picker_popup(ColorPickerPopup(this))
|
||||
{
|
||||
create();
|
||||
@ -822,7 +822,7 @@ bool AMSMaterialsSetting::Show(bool show)
|
||||
m_input_k_val->Show();
|
||||
Layout();
|
||||
Fit();
|
||||
wxGetApp().UpdateDarkUI(this);
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
}
|
||||
return DPIDialog::Show(show);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user