Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM04-3
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
JM04-3
Commits
082f5165
Commit
082f5165
authored
Jul 29, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
92947c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
play.component.ts
src/app/play/play.component.ts
+5
-7
No files found.
src/app/play/play.component.ts
View file @
082f5165
...
...
@@ -365,12 +365,6 @@ export class PlayComponent implements OnInit, OnDestroy {
})
questionText
.
ref
.
text
=
"
a fish whose head look like those of a horse
"
if
(
questionText
.
ref
.
width
>
1440
)
{
questionText
.
ref
.
setScaleXY
(
this
.
g_mapScale
*
1440
/
questionText
.
ref
.
width
);
}
else
{
questionText
.
ref
.
setScaleXY
(
this
.
g_mapScale
);
}
element
.
out
=
(
callback
)
=>
{
return
tweenChange
(
element
.
ref
,
{
y
:
-
1000
},
1
,
()
=>
{
callback
&&
callback
()
...
...
@@ -1537,7 +1531,11 @@ export class PlayComponent implements OnInit, OnDestroy {
indexText
.
ref
.
text
=
this
.
m_questionIndexArray
[
toIndex
];
let
questionText
=
this
.
g_cartoon
.
getCartoonElement
(
"
question_text
"
);
questionText
.
ref
.
text
=
this
.
g_formData
.
dataArray
[
toIndex
].
text
questionText
.
ref
.
refreshSize
();
if
(
questionText
.
ref
.
width
>
1920
)
{
questionText
.
ref
.
setScaleXY
(
1920
/
questionText
.
ref
.
width
);
}
let
nextButton
=
this
.
g_cartoon
.
getCartoonElement
(
"
question_next
"
)
if
(
this
.
g_formData
.
dataArray
.
length
>
toIndex
+
1
)
{
nextButton
.
active
(
true
)
...
...
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