Skip to content

Commit

Permalink
fix python embed TextField getFontName
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Jan 4, 2024
1 parent 43a43e5 commit 0db9553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frameworks/PythonFramework/NodeScriptEmbedding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ namespace Mengine
//////////////////////////////////////////////////////////////////////////
const ConstString & s_TextField_getFontName( TextField * _textField )
{
const FontInterfacePtr & font = _textField->getFont();
const FontInterfacePtr & font = _textField->calcFont();

const ConstString & fontName = font->getName();

Expand Down

0 comments on commit 0db9553

Please sign in to comment.