mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-24 20:05:39 -04:00
Minor adaptations to minor changes in GDL.
git-svn-id: svn://localhost@417 8062f311-0dae-4547-b526-b8ab9ac864a5
This commit is contained in:
@@ -350,7 +350,7 @@ void TextObject::SetFont(string fontName_)
|
||||
{
|
||||
fontName = fontName_;
|
||||
|
||||
FontManager * fontManager = FontManager::getInstance();
|
||||
FontManager * fontManager = FontManager::GetInstance();
|
||||
text.SetFont(*fontManager->GetFont(fontName));
|
||||
text.SetOrigin(text.GetRect().Width/2, text.GetRect().Height/2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user