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

onMouseDown parameter is wrong #1108

Open
abcjjy opened this issue Sep 3, 2013 · 0 comments
Open

onMouseDown parameter is wrong #1108

abcjjy opened this issue Sep 3, 2013 · 0 comments

Comments

@abcjjy
Copy link

abcjjy commented Sep 3, 2013

cc.Node.onMouseDown(event) is called with an event whose coordinates are relative to the container canvas but not the view port.

onTouchesBegan(touches) is correct. The touch object contains coordinates with respect to view port origin.

jianglong0156 pushed a commit to jianglong0156/cocos2d-html5 that referenced this issue Nov 14, 2014
jianglong0156 pushed a commit to jianglong0156/cocos2d-html5 that referenced this issue Nov 24, 2014
dingpinglv added a commit that referenced this issue Nov 25, 2014
issue #1108: add two method cleanScript and restart
pandamicro added a commit to pandamicro/cocos2d-html5 that referenced this issue Dec 4, 2014
pandamicro added a commit that referenced this issue Dec 4, 2014
#1108: Add restartGame and cleanScript API for web
jianglong0156 pushed a commit to jianglong0156/cocos2d-html5 that referenced this issue Jan 7, 2015
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