mirror of https://github.com/axmolengine/axmol.git
Remove unused comments in CCEditBoxImplIOS.mm
This commit is contained in:
parent
150e73ba62
commit
0c3c29b50d
|
@ -67,11 +67,12 @@ static const int CC_EDIT_BOX_PADDING = 5;
|
||||||
-(id) initWithFrame: (CGRect) frameRect editBox: (void*) editBox
|
-(id) initWithFrame: (CGRect) frameRect editBox: (void*) editBox
|
||||||
{
|
{
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if(self){
|
|
||||||
|
if (self)
|
||||||
|
{
|
||||||
editState_ = NO;
|
editState_ = NO;
|
||||||
self.textField = [[[CCCustomUITextField alloc] initWithFrame: frameRect] autorelease];
|
self.textField = [[[CCCustomUITextField alloc] initWithFrame: frameRect] autorelease];
|
||||||
//TODO: what is the line below doing?
|
|
||||||
//if (!textField_) break;
|
|
||||||
[textField_ setTextColor:[UIColor whiteColor]];
|
[textField_ setTextColor:[UIColor whiteColor]];
|
||||||
textField_.font = [UIFont systemFontOfSize:frameRect.size.height*2/3]; //TODO need to delete hard code here.
|
textField_.font = [UIFont systemFontOfSize:frameRect.size.height*2/3]; //TODO need to delete hard code here.
|
||||||
textField_.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
|
textField_.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
|
||||||
|
|
Loading…
Reference in New Issue