Remove unused comments in CCEditBoxImplIOS.mm

This commit is contained in:
James Chen 2014-04-10 11:22:55 +08:00
parent 150e73ba62
commit 0c3c29b50d
1 changed files with 4 additions and 3 deletions

View File

@ -67,11 +67,12 @@ static const int CC_EDIT_BOX_PADDING = 5;
-(id) initWithFrame: (CGRect) frameRect editBox: (void*) editBox
{
self = [super init];
if(self){
if (self)
{
editState_ = NO;
self.textField = [[[CCCustomUITextField alloc] initWithFrame: frameRect] autorelease];
//TODO: what is the line below doing?
//if (!textField_) break;
[textField_ setTextColor:[UIColor whiteColor]];
textField_.font = [UIFont systemFontOfSize:frameRect.size.height*2/3]; //TODO need to delete hard code here.
textField_.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;