MSW-specific: FirmwareDialog: Fixed color of the text when firmware flashing is done

+ Deleted some commented code
This commit is contained in:
YuSanka 2022-01-05 09:40:39 +01:00
parent 3aad2a9f4a
commit 7d6d98cd0f
10 changed files with 11 additions and 21 deletions

View file

@ -495,7 +495,7 @@ void ObjectManipulation::update_ui_from_settings()
// update colors for edit-boxes
int axis_id = 0;
for (ManipulationEditor* editor : m_editors) {
// editor->SetForegroundColour(m_use_colors ? wxColour(axes_color_text[axis_id]) : wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
// editor->SetForegroundColour(m_use_colors ? wxColour(axes_color_text[axis_id]) : wxGetApp().get_label_clr_default());
if (m_use_colors) {
editor->SetBackgroundColour(wxColour(axes_color_back[axis_id]));
if (wxGetApp().dark_mode())