Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM5-9
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
YM5-9
Commits
c458b230
Commit
c458b230
authored
Feb 01, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
3c674bf7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
play.component.ts
src/app/play/play.component.ts
+6
-6
No files found.
src/app/play/play.component.ts
View file @
c458b230
...
@@ -322,8 +322,8 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -322,8 +322,8 @@ export class PlayComponent implements OnInit, OnDestroy {
let
sliderBG
=
this
.
g_cartoon
.
createCartoonElementImageFunc
(
"
slider-background
"
,
"
bgSlider
"
,
(
w
,
h
)
=>
{
let
sliderBG
=
this
.
g_cartoon
.
createCartoonElementImageFunc
(
"
slider-background
"
,
"
bgSlider
"
,
(
w
,
h
)
=>
{
return
{
return
{
sx
:
14
/
w
,
sx
:
14
*
this
.
g_mapScale
/
w
,
sy
:
552
/
h
,
sy
:
552
*
this
.
g_mapScale
/
h
,
}
}
},
(
w
,
h
)
=>
{
},
(
w
,
h
)
=>
{
return
{
return
{
...
@@ -767,10 +767,10 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -767,10 +767,10 @@ export class PlayComponent implements OnInit, OnDestroy {
}
}
createTestLabel
()
{
createTestLabel
()
{
let
testLabel_1
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-1`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
BRLNSDB_1
"
,
"
#
000000
"
,
42
*
this
.
g_mapScale
);
let
testLabel_1
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-1`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
BRLNSDB_1
"
,
"
#
FFFFFF
"
,
42
*
this
.
g_mapScale
);
let
testLabel_2
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-2`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
DFChu-W4-WIN-BF
"
,
"
#
000000
"
,
42
*
this
.
g_mapScale
);
let
testLabel_2
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-2`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
DFChu-W4-WIN-BF
"
,
"
#
FFFFFF
"
,
42
*
this
.
g_mapScale
);
let
testLabel_3
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-3`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
FuturaStd-Medium
"
,
"
#
000000
"
,
42
*
this
.
g_mapScale
);
let
testLabel_3
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-3`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
FuturaStd-Medium
"
,
"
#
FFFFFF
"
,
42
*
this
.
g_mapScale
);
let
testLabel_4
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-4`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
GOTHICB_1
"
,
"
#
000000
"
,
42
*
this
.
g_mapScale
);
let
testLabel_4
=
this
.
g_cartoon
.
createCartoonElementLabel
(
`test-label-4`
,
"
TEST_YOU_CANT_SEE_THIS
"
,
"
GOTHICB_1
"
,
"
#
FFFFFF
"
,
42
*
this
.
g_mapScale
);
this
.
render
(
testLabel_1
.
ref
)
this
.
render
(
testLabel_1
.
ref
)
this
.
render
(
testLabel_2
.
ref
)
this
.
render
(
testLabel_2
.
ref
)
this
.
render
(
testLabel_3
.
ref
)
this
.
render
(
testLabel_3
.
ref
)
...
...
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