mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-18 02:12:18 -07:00
FIX: update dark mode text color
jira: [STUDIO-9781] Change-Id: Ief8c0d820beb698ae19057fba4ad21ef3278f6a9 (cherry picked from commit 20d62fe504e772d2e41d7a86989dc22faba10c15)
This commit is contained in:
parent
34e06c2b4f
commit
0803186472
2 changed files with 5 additions and 5 deletions
|
|
@ -532,7 +532,7 @@ PrinterPartsDialog::PrinterPartsDialog(wxWindow* parent)
|
|||
/*left*/
|
||||
auto leftTitle = new Label(multiple_panel, _L("Left Nozzle"));
|
||||
leftTitle->SetFont(::Label::Head_15);
|
||||
leftTitle->SetForegroundColour(0x2e2630);
|
||||
leftTitle->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#2C2C2E")));
|
||||
|
||||
wxBoxSizer *multiple_left_line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
auto multiple_left_nozzle_type = new Label(multiple_panel, _L("Nozzle Type"));
|
||||
|
|
@ -577,7 +577,7 @@ PrinterPartsDialog::PrinterPartsDialog(wxWindow* parent)
|
|||
/*right*/
|
||||
auto rightTitle = new Label(multiple_panel, _L("Right Nozzle"));
|
||||
rightTitle->SetFont(::Label::Head_15);
|
||||
rightTitle->SetForegroundColour(0x2e2630);
|
||||
rightTitle->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#2C2C2E")));
|
||||
|
||||
wxBoxSizer *multiple_right_line_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
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*/
|
||||
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)
|
||||
{
|
||||
{
|
||||
m_nozzle_btn_panel->Disable();
|
||||
}
|
||||
else
|
||||
|
|
@ -4759,7 +4759,7 @@ void StatusPanel::on_nozzle_selected(wxCommandEvent &event)
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
m_nozzle_btn_panel->Enable();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue