gheja / jamcraft2018

Made for Jamcraft 2018 game jam (https://itch.io/jam/jamcraft), extended after
https://gheja.itch.io/witch-simulator-2000-plus
0 stars 0 forks source link

getBoundingClientRect() left vs x, top vs y #72

Closed gheja closed 6 years ago

gheja commented 6 years ago

Some browsers getBoundingClientRect() returns left instead of x, and top instead of y.

This makes drag and drop unusable. In case of "helper" it works...