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
6a35ea4d
Commit
6a35ea4d
authored
Sep 21, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复缺少阴影的问,及圆角不滑的问题
parent
8ccb5248
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
Exercises.ts
src/app/play/Exercises.ts
+11
-1
No files found.
src/app/play/Exercises.ts
View file @
6a35ea4d
...
@@ -95,13 +95,22 @@ export class Exercises {
...
@@ -95,13 +95,22 @@ export class Exercises {
cardBg
.
alpha
=
0
;
cardBg
.
alpha
=
0
;
this
.
cardBg
=
cardBg
;
this
.
cardBg
=
cardBg
;
const
bigCard1
=
new
ShapeRectNew
();
bigCard1
.
setOutLine
(
outLineColor
,
25
*
scaleY
);
bigCard1
.
setSize
(
width
,
height
,
25
*
scaleY
);
bigCard1
.
x
=
-
width
/
2
;
bigCard1
.
y
=
-
height
/
2
;
bigCard1
.
fillColor
=
"
#ffffff
"
;
bigCard1
.
setShadow
(
0
,
10
*
this
.
scaleY
,
20
,
'
rgba(0, 0, 0, 0.5)
'
);
cardBg
.
addChild
(
bigCard1
);
const
bigCard
=
new
ShapeRectNew
();
const
bigCard
=
new
ShapeRectNew
();
bigCard
.
setOutLine
(
outLineColor
,
20
*
scaleY
);
bigCard
.
setOutLine
(
outLineColor
,
20
*
scaleY
);
bigCard
.
setSize
(
width
,
height
,
25
*
scaleY
);
bigCard
.
setSize
(
width
,
height
,
25
*
scaleY
);
bigCard
.
x
=
-
width
/
2
;
bigCard
.
x
=
-
width
/
2
;
bigCard
.
y
=
-
height
/
2
;
bigCard
.
y
=
-
height
/
2
;
bigCard
.
fillColor
=
"
#ffffff
"
;
this
.
bigCard
=
bigCard
;
this
.
bigCard
=
bigCard
;
cardBg
.
addChild
(
bigCard
);
cardBg
.
addChild
(
bigCard
);
this
.
initBigCard1
(
bigCard
,
skin
);
this
.
initBigCard1
(
bigCard
,
skin
);
...
@@ -339,6 +348,7 @@ export class Exercises {
...
@@ -339,6 +348,7 @@ export class Exercises {
constantBg
.
fillColor
=
'
#ffffff
'
;
constantBg
.
fillColor
=
'
#ffffff
'
;
constantBg
.
alpha
=
1
;
constantBg
.
alpha
=
1
;
constantBg
.
visible
=
false
;
constantBg
.
visible
=
false
;
constantBg
.
x
=
20
*
parent
.
scaleX
;
constantBg
.
x
=
20
*
parent
.
scaleX
;
constantBg
.
y
=
20
*
parent
.
scaleY
;
constantBg
.
y
=
20
*
parent
.
scaleY
;
parent
.
addChild
(
constantBg
);
parent
.
addChild
(
constantBg
);
...
...
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