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
First of all, I am very grateful to the author of this code (Tom Schimansky).
And I want to share my experience of using it.
I found a bug in the convert_canvas_coords_to_decimal_coords function.
Screen size (self.height ; self.width) is different from canvas size (self.canvas.winfo_height() ; self.canvas.winfo_width()) and we have to use screen size in it.
Otherwise, there may be displacements along the axes that affect the display of coordinates (right mouse button).
It was the incorrect display of coordinates that I encountered. And, unfortunately, it took a lot of time to find the root cause.
The text was updated successfully, but these errors were encountered:
First of all, I am very grateful to the author of this code (Tom Schimansky).
And I want to share my experience of using it.
I found a bug in the convert_canvas_coords_to_decimal_coords function.
Screen size (self.height ; self.width) is different from canvas size (self.canvas.winfo_height() ; self.canvas.winfo_width()) and we have to use screen size in it.
Otherwise, there may be displacements along the axes that affect the display of coordinates (right mouse button).
It was the incorrect display of coordinates that I encountered. And, unfortunately, it took a lot of time to find the root cause.
The text was updated successfully, but these errors were encountered: