Closed kreijack closed 2 years ago
Great !! Do you want that I send an updated patch to solve the formatting issue ?
You don't need to make a new merge request. You can modify the file and upload the changes to the current commit.
Thank you
I will consider this as a bug fix and push it to 1.26 branch.
Problem: when the mouse pointer is between two eyes, the left one is correct oriented; however the right one is wrongly oriented
I discovered that this is due to the fact that it is not computed the offset between the single eye widget and their parent window.
Correct views:
![image](https://user-images.githubusercontent.com/4663983/147946269-ee526e1c-0bc3-4954-b80c-6d1054ceb70f.png)
To compute the correct pupil position, we should consider the offset between the eye widget and their parent window.
Signed-off-by: Goffredo Baroncelli kreijack@inwind.it