fix editbox can't input on macos 10.12 (#16842)

* fix editbox can't input on macos 10.12

fix editbox can't input characters on mac os 10.12

* update external to 114
This commit is contained in:
子龙山人 2016-11-15 17:38:42 -08:00 committed by minggo
parent f99dae383f
commit ee8305ed52
2 changed files with 3 additions and 1 deletions

View File

@ -135,6 +135,8 @@
- (void)openKeyboard
{
[self.window.contentView addSubview:self.textInput];
//FIXME: it will cause a few OpenGL error once, should be fix when glfw version upgraded.
self.window.contentView.wantsLayer = YES;
if (![self.textInput isKindOfClass:[NSTextView class]]) {
[self.textInput becomeFirstResponder];
}else {

View File

@ -1,5 +1,5 @@
{
"version":"v3-deps-113",
"version":"v3-deps-114",
"zip_file_size":"135533806",
"repo_name":"cocos2d-x-3rd-party-libs-bin",
"repo_parent":"https://github.com/cocos2d/",