mirror of https://github.com/axmolengine/axmol.git
Fix iOS editbox EndAction wrong when single line mode. (UITextField) (#18870)
This commit is contained in:
parent
8988f999f6
commit
5d7e58a2a1
|
@ -444,6 +444,7 @@
|
|||
{
|
||||
CCLOG("textFieldShouldBeginEditing...");
|
||||
_editState = YES;
|
||||
_returnPressed = NO;
|
||||
|
||||
auto view = cocos2d::Director::getInstance()->getOpenGLView();
|
||||
CCEAGLView *eaglview = (CCEAGLView *)view->getEAGLView();
|
||||
|
|
Loading…
Reference in New Issue