mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
Make shift point bigger when copy box(es)
This commit is contained in:
parent
ab17e9634b
commit
9f69e97569
@ -546,7 +546,7 @@ class Canvas(QWidget):
|
|||||||
# Give up if both fail.
|
# Give up if both fail.
|
||||||
for shape in shapes:
|
for shape in shapes:
|
||||||
point = shape[0]
|
point = shape[0]
|
||||||
offset = QPointF(2.0, 2.0)
|
offset = QPointF(5.0, 5.0)
|
||||||
self.calculateOffsets(shape, point)
|
self.calculateOffsets(shape, point)
|
||||||
self.prevPoint = point
|
self.prevPoint = point
|
||||||
if not self.boundedMoveShape(shape, point - offset):
|
if not self.boundedMoveShape(shape, point - offset):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user