Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM-42
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
YM-42
Commits
483860a2
Commit
483860a2
authored
Sep 10, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复显示问题
parent
1351afb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
play.component.ts
src/app/play/play.component.ts
+4
-1
No files found.
src/app/play/play.component.ts
View file @
483860a2
...
@@ -739,6 +739,8 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -739,6 +739,8 @@ export class PlayComponent implements OnInit, OnDestroy {
startYArr
.
push
(
startY
);
startYArr
.
push
(
startY
);
let
hight
=
0
;
for
(
let
i
=
0
;
i
<
this
.
data
.
exercisesArr
.
length
;
++
i
)
{
for
(
let
i
=
0
;
i
<
this
.
data
.
exercisesArr
.
length
;
++
i
)
{
let
index
=
i
+
1
;
let
index
=
i
+
1
;
...
@@ -780,7 +782,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -780,7 +782,7 @@ export class PlayComponent implements OnInit, OnDestroy {
else
{
else
{
startY
=
startY
+
exercises
.
bg
.
height
+
65
*
this
.
mapScaleY
;
startY
=
startY
+
exercises
.
bg
.
height
+
65
*
this
.
mapScaleY
;
}
}
hight
=
exercises
.
bg
.
height
;
startYArr
.
push
(
startY
);
startYArr
.
push
(
startY
);
}
}
...
@@ -793,6 +795,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -793,6 +795,7 @@ export class PlayComponent implements OnInit, OnDestroy {
for
(
let
i
=
0
;
i
<
lBgArr
.
length
;
++
i
){
for
(
let
i
=
0
;
i
<
lBgArr
.
length
;
++
i
){
lBgArr
[
i
].
y
=
startYArr
[
i
];
lBgArr
[
i
].
y
=
startYArr
[
i
];
lBgArr
[
i
].
height
=
hight
;
}
}
let
minScale
=
1
;
let
minScale
=
1
;
...
...
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