mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Follow up ff82c82f - Fixed ModeButtons refreshing
This commit is contained in:
@@ -672,10 +672,9 @@ void ModeButton::focus_button(const bool focus)
|
|||||||
Slic3r::GUI::wxGetApp().normal_font();
|
Slic3r::GUI::wxGetApp().normal_font();
|
||||||
|
|
||||||
SetFont(new_font);
|
SetFont(new_font);
|
||||||
//#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// GetParent()->Refresh();
|
GetParent()->Refresh(); // force redraw a background of the selected mode button
|
||||||
//#else
|
#else
|
||||||
#ifndef _WIN32
|
|
||||||
SetForegroundColour(wxSystemSettings::GetColour(focus ? wxSYS_COLOUR_BTNTEXT :
|
SetForegroundColour(wxSystemSettings::GetColour(focus ? wxSYS_COLOUR_BTNTEXT :
|
||||||
#if defined (__linux__) && defined (__WXGTK3__)
|
#if defined (__linux__) && defined (__WXGTK3__)
|
||||||
wxSYS_COLOUR_GRAYTEXT
|
wxSYS_COLOUR_GRAYTEXT
|
||||||
|
|||||||
Reference in New Issue
Block a user