Changed className TextButtonInstance to TextButton to match naming convention

This commit is contained in:
andreja6
2018-04-19 17:19:02 -07:00
parent 3e4c128347
commit 067a744cda
2 changed files with 2 additions and 2 deletions

View File

@@ -466,7 +466,7 @@ void drawButtons(RenderDevice* rd)
for(size_t i = 0; i < instances_2D.size(); i++)
{
Instance* instance = instances_2D.at(i);
if(instance->className == "TextButtonInstance" && instance->parent == dataModel)
if(instance->className == "TextButton" && instance->parent == dataModel)
{
TextButtonInstance* tbi = (TextButtonInstance*)instance;
Vector3 point1;