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

event dont work #30

Closed
zj831007 opened this issue Mar 15, 2012 · 1 comment
Closed

event dont work #30

zj831007 opened this issue Mar 15, 2012 · 1 comment

Comments

@zj831007
Copy link

<--div style="position: absolute; left:500px; top:500px;">
<--canvas id="lianliankan_lianliankan_30" width="422" height="411" style="border:1px solid red;z-index:2;"-->

when I set a absolute position to the div then,the canvas can not triger any event, thouth my test, when the page has scroll bar, and scrolled, the displayobject will has error coordinate, so obj.isPointerInside(pointer) will not correct judge the object. Today, I test again, this error appear at ios device of touch event..

koggdal added a commit that referenced this issue Mar 17, 2012
When the page is scrolled, wrong coordinates were calculated for
touch events. Only mouse had been fixed before.
@koggdal
Copy link
Owner

koggdal commented Mar 17, 2012

I tested this, and as far as I can tell it works with mouse, but not touch. I have now fixed the touch module to calculate this correctly.

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

2 participants