hyperandroid / CAAT

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

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

Closed strickos closed 11 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 11 years ago

Thanks.