hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

Fixed a bug in accumulating parent offsets when normalising the coordinate space #138

Closed strickos closed 10 years ago

strickos commented 11 years ago

Hi,

I've just fixed a bug in the accumulation of parent offsets when normalising the mouse event coordinates back to the canvas coordinate space.

The fixed parents' offset needs to be included in the accumulation.

Cheers, Adam

hyperandroid commented 10 years ago

Thanks.