fix keyback bug after opened a page (#18153)

bug happen when:
1.implement keyback in a scene
2.implement webview in that scene and load a default URL
3.click any link and wait for it to load
4.press key back, the implemented keyback will not be called
This commit is contained in:
Sevellion 2018-01-02 09:37:38 +07:00 committed by minggo
parent 2c025d8048
commit 6d50a844d4
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class Cocos2dxWebView extends WebView {
this.mJSScheme = "";
this.setFocusable(true);
this.setFocusableInTouchMode(true);
this.setFocusableInTouchMode(false);
this.getSettings().setSupportZoom(false);