You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The approximatedPoint don't calculate exactly the same point which is selected by users and the method does approximate as the method name is.
One of the reasons is - If a user touches outside of the image matrix, we should calculate the nearest and proper colors from the point. So 1~2 points difference might happen in the calculating. If you could suggest or find any great algorithm/solution, it would be very appreciated!
Thank you for answering the question.
See the video below for my problems.
There are five alphatileviews. When I click, I will switch and save the point of the previous alphatileview, and switch to the new alphatileview point. When I click repeatedly, the color will change.
Is there any good way to solve it?
There is an error between the obtained coordinates and the set coordinates
getSelectedPoint -> Point(620, 435)
setSelectorPoint -> Point(620, 435)
approximatedPoint -> Point(618, 434)
The text was updated successfully, but these errors were encountered: