Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIWidget::interceptTouchEvent is not called in JS-binding #18501

Open
thuydx55 opened this issue Nov 24, 2017 · 0 comments
Open

UIWidget::interceptTouchEvent is not called in JS-binding #18501

thuydx55 opened this issue Nov 24, 2017 · 0 comments

Comments

@thuydx55
Copy link
Contributor

  • cocos2d-x version: 3.15 - js-binding
  • devices test on: All devices

Steps to Reproduce:

  1. Create a class extend UIWidget.js
  2. Implement interceptTouchEvent function that override parent function
  3. Create some UIWidget child in new class (UIButton for example)

Touch to new child, interceptTouchEvent is called in web version but not in native version

thuydx55 pushed a commit to thuydx55/cocos2d-x that referenced this issue Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant