Merge pull request #32956 from volzhs/invalid-bold
Fix validating editor bold font
This commit is contained in:
commit
9e631a40c6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
Ref<DynamicFont> m_name; \
|
||||
m_name.instance(); \
|
||||
m_name->set_size(m_size); \
|
||||
if (CustomFont.is_valid()) { \
|
||||
if (CustomFontBold.is_valid()) { \
|
||||
m_name->set_font_data(CustomFontBold); \
|
||||
m_name->add_fallback(DefaultFontBold); \
|
||||
} else { \
|
||||
|
|
Loading…
Reference in a new issue