Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LST-05
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
LST-05
Commits
c85320c1
Commit
c85320c1
authored
Nov 20, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复显示问题
parent
07f4a6aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
play.component.ts
src/app/play/play.component.ts
+5
-5
No files found.
src/app/play/play.component.ts
View file @
c85320c1
...
...
@@ -780,7 +780,7 @@ export class PlayComponent implements OnInit, OnDestroy {
let
card
=
new
Card
();
card
.
init
(
this
.
images
,
this
.
mapScale
);
card
.
bg
.
x
=
380
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
-
8
0
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
-
7
0
*
this
.
mapScale
;
card
.
bg
[
'
renderZ
'
]
=
8
;
card
[
'
id
'
]
=
0
;
this
.
renderArr
.
push
(
card
.
bg
);
...
...
@@ -791,7 +791,7 @@ export class PlayComponent implements OnInit, OnDestroy {
card
=
new
Card
();
card
.
init
(
this
.
images
,
this
.
mapScale
);
card
.
bg
.
x
=
820
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
-
6
0
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
-
5
0
*
this
.
mapScale
;
card
.
bg
[
'
renderZ
'
]
=
9
;
card
[
'
id
'
]
=
1
;
this
.
renderArr
.
push
(
card
.
bg
);
...
...
@@ -802,7 +802,7 @@ export class PlayComponent implements OnInit, OnDestroy {
card
=
new
Card
();
card
.
init
(
this
.
images
,
this
.
mapScale
);
card
.
bg
.
x
=
100
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
+
6
0
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
+
11
0
*
this
.
mapScale
;
card
.
bg
[
'
renderZ
'
]
=
19
;
card
[
'
id
'
]
=
1
;
this
.
renderArr
.
push
(
card
.
bg
);
...
...
@@ -812,7 +812,7 @@ export class PlayComponent implements OnInit, OnDestroy {
card
=
new
Card
();
card
.
init
(
this
.
images
,
this
.
mapScale
);
card
.
bg
.
x
=
570
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
+
1
10
*
this
.
mapScale
;
card
.
bg
.
y
=
this
.
canvasHeight
+
1
25
*
this
.
mapScale
;
card
.
bg
[
'
renderZ
'
]
=
19
;
card
[
'
id
'
]
=
1
;
this
.
renderArr
.
push
(
card
.
bg
);
...
...
@@ -948,7 +948,7 @@ export class PlayComponent implements OnInit, OnDestroy {
card
.
holeId
=
holeIndex
;
card
.
id
=
cardIndex
;
card
.
baseY
=
pos
.
y
;
card
.
targetY
=
pos
.
y
-
card
.
bg
.
height
-
3
0
*
this
.
mapScale
;
card
.
targetY
=
pos
.
y
-
card
.
bg
.
height
-
1
0
*
this
.
mapScale
;
card
.
bg
.
renderZ
=
pos
.
z
;
this
.
sortRenderZ
(
this
.
renderArr
);
...
...
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