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
69d25f00
Commit
69d25f00
authored
Aug 10, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix for 2-6
parent
085f72db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
play.component.ts
src/app/play/play.component.ts
+4
-4
No files found.
src/app/play/play.component.ts
View file @
69d25f00
...
...
@@ -1269,7 +1269,7 @@ export class PlayComponent implements OnInit, OnDestroy {
let
checkMiddle
=
this
.
g_cartoon
.
getCartoonElement
(
"
checkpannel_checnk_middle
"
);
checkMiddle
.
ref
.
addChild
(
sliderBG
.
ref
)
sliderBG
.
ref
.
x
=
checkMiddle
.
ref
.
width
/
2
-
8
0
*
this
.
g_mapScale
;
sliderBG
.
ref
.
x
=
checkMiddle
.
ref
.
width
/
2
-
3
0
*
this
.
g_mapScale
;
sliderBG
.
ref
.
y
=
0
;
// let clickSY = 0
...
...
@@ -1318,10 +1318,10 @@ export class PlayComponent implements OnInit, OnDestroy {
}
let
scrollContent
=
this
.
g_cartoon
.
getCartoonElement
(
"
check_scroll_pannel
"
)
let
text
=
this
.
g_cartoon
.
createCartoonElementLabel
(
"
text
"
,
data
.
text
,
"
Aileron-Bold
"
,
"
#FFFFFF
"
,
48
)
let
text
=
this
.
g_cartoon
.
createCartoonElementLabel
(
"
text
"
,
data
.
text
,
"
DroidSansFallback
"
,
"
#FFFFFF
"
,
48
)
text
.
ref
.
textAlign
=
"
left
"
;
text
.
ref
.
warpLineHeight
=
64
;
text
.
ref
.
maxSingalLineWidth
=
80
0
;
text
.
ref
.
maxSingalLineWidth
=
75
0
;
text
.
ref
.
refreshSize
();
text
.
ref
.
x
=
0
if
(
text
.
ref
.
lineNum
==
0
)
{
...
...
@@ -1481,7 +1481,7 @@ export class PlayComponent implements OnInit, OnDestroy {
},
(
w
,
h
)
=>
{
return
{
x
:
this
.
g_canvasWidth
/
2
+
855
*
this
.
g_mapScale
/
2
+
118
*
this
.
g_mapScale
,
y
:
this
.
g_canvasHeight
/
2
+
7
4
0
*
this
.
g_mapScale
y
:
this
.
g_canvasHeight
/
2
+
7
6
0
*
this
.
g_mapScale
}
})
...
...
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