mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix of #2168
This commit is contained in:
parent
2c9e3819c1
commit
c8815041e2
1 changed files with 3 additions and 2 deletions
|
@ -2351,8 +2351,9 @@ void ModeButton::SetState(const bool state)
|
||||||
|
|
||||||
void ModeButton::focus_button(const bool focus)
|
void ModeButton::focus_button(const bool focus)
|
||||||
{
|
{
|
||||||
wxFont font = GetFont();
|
const wxFont& new_font = focus ?
|
||||||
const wxFont& new_font = focus ? font.Bold() : font.GetBaseFont();
|
Slic3r::GUI::wxGetApp().bold_font() :
|
||||||
|
Slic3r::GUI::wxGetApp().normal_font();
|
||||||
|
|
||||||
SetFont(new_font);
|
SetFont(new_font);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue