FIX: The display of _ is not clear in dark mode

jira: STUDIO-4525

In dark mode, the second '_' in the cavity temperature '_/_' display is
not clear.

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I43547371d4c824c2820eb0cb88d67dd2c4dc4678
This commit is contained in:
wenjie.guo
2023-10-19 17:38:06 +08:00
committed by Lane.Wei
parent ae40f0fc4d
commit 017c8b5c93
2 changed files with 8 additions and 2 deletions

View File

@@ -1958,9 +1958,14 @@ void StatusPanel::update(MachineObject *obj)
if (obj->is_support_chamber_edit) {
m_tempCtrl_chamber->SetReadOnly(false);
m_tempCtrl_chamber->Enable();
wxCursor cursor(wxCURSOR_IBEAM);
m_tempCtrl_chamber->GetTextCtrl()->SetCursor(cursor);
} else {
m_tempCtrl_chamber->SetReadOnly(true);
wxCursor cursor(wxCURSOR_ARROW);
m_tempCtrl_chamber->GetTextCtrl()->SetCursor(cursor);
if (obj->get_printer_series() == PrinterSeries::SERIES_X1) {
m_tempCtrl_chamber->SetTagTemp(TEMP_BLANK_STR);
}if (obj->get_printer_series() == PrinterSeries::SERIES_P1P)
@@ -1969,7 +1974,8 @@ void StatusPanel::update(MachineObject *obj)
m_tempCtrl_chamber->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
}
m_tempCtrl_chamber->Disable();
//m_tempCtrl_chamber->Disable();
}
if (!obj->dev_connection_type.empty()) {