mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-07 02:51:10 +00:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user