Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
9f69e975
Commit
9f69e975
authored
Feb 24, 2022
by
HinGwenWoong
Browse files
Make shift point bigger when copy box(es)
parent
ab17e963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
PPOCRLabel/libs/canvas.py
PPOCRLabel/libs/canvas.py
+1
-1
No files found.
PPOCRLabel/libs/canvas.py
View file @
9f69e975
...
@@ -546,7 +546,7 @@ class Canvas(QWidget):
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment