when I edit the annotations, click one point or the shape, and move the mouse, while one point reach the edge of one side, will raise TypeError like:
Traceback (most recent call last):
File "D:\MM-Project\anylabeling\anylabeling\views\labeling\widgets\canvas.py", line 336, in mouseMoveEvent
self.bounded_move_vertex(pos)
File "D:\MM-Project\anylabeling\anylabeling\views\labeling\widgets\canvas.py", line 627, in bounded_move_vertex
shape.move_vertex_by(index, pos - point)
~~~~^~~~~~~
TypeError: unsupported operand type(s) for -: 'QPoint' and 'QPointF'
when I edit the annotations, click one point or the shape, and move the mouse, while one point reach the edge of one side, will raise TypeError like:
Traceback (most recent call last):
File "D:\MM-Project\anylabeling\anylabeling\views\labeling\widgets\canvas.py", line 336, in mouseMoveEvent
self.bounded_move_vertex(pos)
File "D:\MM-Project\anylabeling\anylabeling\views\labeling\widgets\canvas.py", line 627, in bounded_move_vertex
shape.move_vertex_by(index, pos - point)
~~~~^~~~~~~
TypeError: unsupported operand type(s) for -: 'QPoint' and 'QPointF'