Skip to content

Commit

Permalink
Merge pull request #380 from brandmooffin/update/immediate-font-size-…
Browse files Browse the repository at this point in the history
…change

update font config when font size changes
  • Loading branch information
brandmooffin authored Aug 5, 2024
2 parents d00d41c + 1c74728 commit 89c3412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos2d/label_nodes/CCLabel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public float SystemFontSize
set
{
m_FontSize = value;
InitializeFont(m_FontName, m_FontSize, Text);
m_pConfiguration = InitializeFont(m_FontName, m_FontSize, Text);
m_bFontDirty = true;
}
}
Expand Down

0 comments on commit 89c3412

Please sign in to comment.