Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_18
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
OP_18
Commits
e83214d3
Commit
e83214d3
authored
Oct 20, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
dcd23225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
OP_18.js
assets/OP_18/scene/OP_18.js
+4
-2
No files found.
assets/OP_18/scene/OP_18.js
View file @
e83214d3
...
...
@@ -2784,9 +2784,11 @@ cc.Class({
const
bboxTextArr
=
[];
for
(
let
i
=
0
;
i
<
curTextArr
.
length
;
i
++
)
{
const
score
=
curTextArr
[
i
].
content
;
const
score
=
curTextArr
[
i
].
score
;
const
{
left
,
right
,
top
,
bottom
}
=
curTextArr
[
i
];
const
text
=
curTextArr
[
i
].
content
;
const
{
left
,
right
,
top
,
bottom
,
text
}
=
curTextArr
[
i
];
console
.
log
(
'
text..
'
,
JSON
.
stringify
(
curTextArr
[
i
]
));
console
.
log
(
'
text..
'
,
text
);
const
disW
=
(
right
-
left
)
/
text
.
length
;
...
...
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