Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Elements not dragable on windows 8 HTML5 apps #6

Open
ashbuilds opened this issue Nov 25, 2013 · 1 comment
Open

Elements not dragable on windows 8 HTML5 apps #6

ashbuilds opened this issue Nov 25, 2013 · 1 comment

Comments

@ashbuilds
Copy link

i'll create a new game by using your jquery.throwable plugin,for windows 8 Apps.
Your plugin works on all browsers well,but fails in ,Visual studio for windows 8 HTML5 app,in this throwable working but drag option will not work.
i was study the whole code i think the error is in
" var count = world.Query(aabb, shapes, k_maxCount); "
here count is 0 in output rather then 1. and shapes having null.

Please help me to solve out of this problem.

@ashbuilds
Copy link
Author

Hey.. I found the solution .....
by replacing
window.scrollX and window.scrollY
to
document.documentElement.scrollLeft and document.documentElement.scrollTop

..... i able to drag elements...successfully !!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant