mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH:use high contrast icons in dark mode
fixed STUDIO-2033 Change-Id: Ibfbc40b02f5333d80d2875d88bb3029109256e4a
This commit is contained in:
parent
c6e49af3fe
commit
ccfc61492b
3 changed files with 15 additions and 3 deletions
|
@ -3208,6 +3208,17 @@ void SelectMachineDialog::set_default()
|
|||
m_stext_weight->SetLabel(weight);
|
||||
}
|
||||
|
||||
void SelectMachineDialog::sys_color_changed()
|
||||
{
|
||||
if (wxGetApp(). dark_mode()) {
|
||||
m_rename_button->SetIcon("ams_editable_light");
|
||||
}
|
||||
else {
|
||||
m_rename_button->SetIcon("ams_editable");
|
||||
}
|
||||
m_rename_button->Refresh();
|
||||
}
|
||||
|
||||
bool SelectMachineDialog::Show(bool show)
|
||||
{
|
||||
show_status(PrintDialogStatus::PrintStatusInit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue