mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 02:52:10 +00:00
Manipulation Panel in DarkMode: Fixed a text color, when we use different colors for the axes
This commit is contained in:
@@ -505,6 +505,7 @@ void ObjectManipulation::update_ui_from_settings()
|
|||||||
#else
|
#else
|
||||||
editor->SetBackgroundColour(m_use_colors ? wxColour(axes_color_back[axis_id]) : wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
editor->SetBackgroundColour(m_use_colors ? wxColour(axes_color_back[axis_id]) : wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
editor->Refresh();
|
||||||
if (++axis_id == 3)
|
if (++axis_id == 3)
|
||||||
axis_id = 0;
|
axis_id = 0;
|
||||||
}
|
}
|
||||||
@@ -1094,6 +1095,8 @@ void ManipulationEditor::sys_color_changed(ObjectManipulation* parent)
|
|||||||
{
|
{
|
||||||
if (!parent->use_colors())
|
if (!parent->use_colors())
|
||||||
wxGetApp().UpdateDarkUI(this);
|
wxGetApp().UpdateDarkUI(this);
|
||||||
|
else
|
||||||
|
SetForegroundColour(*wxBLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
double ManipulationEditor::get_value()
|
double ManipulationEditor::get_value()
|
||||||
|
|||||||
Reference in New Issue
Block a user