mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 23:29:02 +08:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle
This commit is contained in:
commit
a4bd98070e
@ -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…
x
Reference in New Issue
Block a user