From 64c8a6de8fea8f46ea51110679ce358abfdd1b38 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Fri, 30 Jul 2021 14:22:58 +0200 Subject: [PATCH] Manipulation Panel in DarkMode: Fixed a text color, when we use different colors for the axes --- src/slic3r/GUI/GUI_ObjectManipulation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp index 42e0c8d54..d35def196 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp @@ -505,6 +505,7 @@ void ObjectManipulation::update_ui_from_settings() #else editor->SetBackgroundColour(m_use_colors ? wxColour(axes_color_back[axis_id]) : wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); #endif /* _WIN32 */ + editor->Refresh(); if (++axis_id == 3) axis_id = 0; } @@ -1094,6 +1095,8 @@ void ManipulationEditor::sys_color_changed(ObjectManipulation* parent) { if (!parent->use_colors()) wxGetApp().UpdateDarkUI(this); + else + SetForegroundColour(*wxBLACK); } double ManipulationEditor::get_value()