Closed silwek closed 3 years ago
I have the issue #20 , it's because of a float to int on frameRect. In my case, frameRect.left=161.999 when targetRect.left=162 but frameRect.left.toInt()=161. So off frame... With the good ceil/floor operation, it seems to works in all cases.
frameRect.left=161.999
targetRect.left=162
frameRect.left.toInt()=161
Thank you for the fix and sorry for the late reply. I will include this and release a new version. 👍
I have the issue #20 , it's because of a float to int on frameRect. In my case,
frameRect.left=161.999
whentargetRect.left=162
butframeRect.left.toInt()=161
. So off frame... With the good ceil/floor operation, it seems to works in all cases.