mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fix of #2168
This commit is contained in:
1 parent
2c9e3819c1
commit
c8815041e2
1 file changed
+3
-2
@@ -2351,8 +2351,9 @@ void ModeButton::SetState(const bool state)
|
||||
|
||||
void ModeButton::focus_button(const bool focus)
|
||||
{
|
||||
wxFont font = GetFont();
|
||||
const wxFont& new_font = focus ? font.Bold() : font.GetBaseFont();
|
||||
const wxFont& new_font = focus ?
|
||||
Slic3r::GUI::wxGetApp().bold_font() :
|
||||
Slic3r::GUI::wxGetApp().normal_font();
|
||||
|
||||
SetFont(new_font);
|
||||
|
||||
|
||||
Reference in new issue
Block a user