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
This is due to the wrong length in Canvas.
I changed the code p.drawLine(0,int(self.prevMovePoint.y()),self.width()-1,int(self.prevMovePoint.y())) in the draw crosshair to p.drawLine(0,int(self.prevMovePoint.y()),int(self.pixmap.width()-1),int(self.prevMovePoint.y())), and similarly changed the p.drawLine(int(self.prevMovePoint.x()),0,int(self.prevMovePoint.x()),self.height()-1) to p.drawLine(int(self.prevMovePoint.x()),0,int(self.prevMovePoint.x()),int(self.pixmap.height()-1)). And the problem was solved.
Hope the bug can be solved sooner.
Provide environment information
python 3.8
What OS are you using?
Windows
Describe the Bug
The guide lines are not long enough when create a rectangle
Expected Behavior
No response
To Reproduce
No response
The text was updated successfully, but these errors were encountered: