Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
East_L215
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
East_L215
Commits
809ed87d
Commit
809ed87d
authored
Jun 16, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change title
parent
3234f17d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ng-template-generator_20200616 22-10-05.zip
publish/ng-template-generator_20200616 22-10-05.zip
+0
-0
play.component.ts
src/app/play/play.component.ts
+2
-2
No files found.
publish/ng-template-generator_202006
01 22-10-50
.zip
→
publish/ng-template-generator_202006
16 22-10-05
.zip
View file @
809ed87d
No preview for this file type
src/app/play/play.component.ts
View file @
809ed87d
...
@@ -296,14 +296,14 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -296,14 +296,14 @@ export class PlayComponent implements OnInit, OnDestroy {
// 标题
// 标题
initTitle
(){
initTitle
(){
let
titleText
=
"
Drag
and drop games
"
let
titleText
=
"
Drag
ging Game
"
let
element
=
this
.
g_cartoon
.
createCartoonElementImage
(
'
title
'
,
"
bg_title
"
,
576
*
this
.
g_mapScale
,
66
*
this
.
g_mapScale
,
this
.
g_canvasWidth
/
2
,
this
.
g_cartoon
.
getOrigin
().
y
+
34
*
this
.
g_mapScale
)
let
element
=
this
.
g_cartoon
.
createCartoonElementImage
(
'
title
'
,
"
bg_title
"
,
576
*
this
.
g_mapScale
,
66
*
this
.
g_mapScale
,
this
.
g_canvasWidth
/
2
,
this
.
g_cartoon
.
getOrigin
().
y
+
34
*
this
.
g_mapScale
)
let
title
=
new
Label
()
let
title
=
new
Label
()
title
.
text
=
titleText
title
.
text
=
titleText
title
.
fontColor
=
"
#fffc1d
"
;
title
.
fontColor
=
"
#fffc1d
"
;
title
.
fontName
=
"
BerlinSansFBDemi-Bold
"
;
title
.
fontName
=
"
BerlinSansFBDemi-Bold
"
;
title
.
fontSize
=
58
title
.
fontSize
=
58
title
.
x
=
-
2
88
title
.
x
=
-
2
20
element
.
ref
.
addChild
(
title
)
element
.
ref
.
addChild
(
title
)
this
.
render
(
element
.
ref
)
this
.
render
(
element
.
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