moved the scale reset outside of the if statement, this is to fix a bug where hovering over the last item cause other text items as well as "cancel" to enlarge.

This commit is contained in:
omegablast2002@yahoo.com
2012-03-22 13:26:09 +00:00
parent 9102f15309
commit 26239cdc91

View File

@@ -210,8 +210,8 @@ void SimpleMenu::Render()
mFont->SetColor(ARGB(150,255,255,255));
}
(static_cast<SimpleMenuItem*> (mObjects[i]))->RenderWithOffset(-kLineHeight * startId);
mFont->SetScale(SCALE_NORMAL);
}
mFont->SetScale(SCALE_NORMAL);
}
mFont->SetScale(SCALE_NORMAL);
}