mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
FIX: update dark mode text color
jira: [STUDIO-9781] Change-Id: Ief8c0d820beb698ae19057fba4ad21ef3278f6a9 (cherry picked from commit 20d62fe504e772d2e41d7a86989dc22faba10c15)
This commit is contained in:
@@ -532,7 +532,7 @@ PrinterPartsDialog::PrinterPartsDialog(wxWindow* parent)
|
|||||||
/*left*/
|
/*left*/
|
||||||
auto leftTitle = new Label(multiple_panel, _L("Left Nozzle"));
|
auto leftTitle = new Label(multiple_panel, _L("Left Nozzle"));
|
||||||
leftTitle->SetFont(::Label::Head_15);
|
leftTitle->SetFont(::Label::Head_15);
|
||||||
leftTitle->SetForegroundColour(0x2e2630);
|
leftTitle->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#2C2C2E")));
|
||||||
|
|
||||||
wxBoxSizer *multiple_left_line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer *multiple_left_line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
auto multiple_left_nozzle_type = new Label(multiple_panel, _L("Nozzle Type"));
|
auto multiple_left_nozzle_type = new Label(multiple_panel, _L("Nozzle Type"));
|
||||||
@@ -577,7 +577,7 @@ PrinterPartsDialog::PrinterPartsDialog(wxWindow* parent)
|
|||||||
/*right*/
|
/*right*/
|
||||||
auto rightTitle = new Label(multiple_panel, _L("Right Nozzle"));
|
auto rightTitle = new Label(multiple_panel, _L("Right Nozzle"));
|
||||||
rightTitle->SetFont(::Label::Head_15);
|
rightTitle->SetFont(::Label::Head_15);
|
||||||
rightTitle->SetForegroundColour(0x2e2630);
|
rightTitle->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#2C2C2E")));
|
||||||
|
|
||||||
wxBoxSizer *multiple_right_line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer *multiple_right_line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
auto multiple_right_nozzle_type = new Label(multiple_panel, _L("Nozzle Type"));
|
auto multiple_right_nozzle_type = new Label(multiple_panel, _L("Nozzle Type"));
|
||||||
|
|||||||
@@ -2860,9 +2860,9 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
|
|||||||
|
|
||||||
/*enable status*/
|
/*enable status*/
|
||||||
if (obj->is_in_printing() ||
|
if (obj->is_in_printing() ||
|
||||||
obj->ams_status_main == AMS_STATUS_MAIN_FILAMENT_CHANGE ||
|
obj->ams_status_main == AMS_STATUS_MAIN_FILAMENT_CHANGE ||
|
||||||
targ_nozzle_id_from_pc != INVALID_NOZZLE_ID)
|
targ_nozzle_id_from_pc != INVALID_NOZZLE_ID)
|
||||||
{
|
{
|
||||||
m_nozzle_btn_panel->Disable();
|
m_nozzle_btn_panel->Disable();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -4759,7 +4759,7 @@ void StatusPanel::on_nozzle_selected(wxCommandEvent &event)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_nozzle_btn_panel->Enable();
|
m_nozzle_btn_panel->Enable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user