Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG_FAF
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
DG_FAF
Commits
52d07904
Commit
52d07904
authored
Mar 06, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改划掉线颜色
parent
80149629
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
DG_FAF.ts
assets/DG_FAF/scene/DG_FAF.ts
+5
-1
defaultData_DG_FAF.ts
assets/DG_FAF/script/defaultData_DG_FAF.ts
+1
-1
slider.png.meta
assets/DG_FAF/textures/slider.png.meta
+2
-2
No files found.
assets/DG_FAF/scene/DG_FAF.ts
View file @
52d07904
...
@@ -1811,7 +1811,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -1811,7 +1811,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
node
.
anchorY
=
0
;
node
.
anchorY
=
0
;
const
ctx
=
node
.
addComponent
(
cc
.
Graphics
);
const
ctx
=
node
.
addComponent
(
cc
.
Graphics
);
ctx
.
lineWidth
=
4
;
const
color
=
new
cc
.
Color
();
cc
.
Color
.
fromHEX
(
color
,
"
#a8a9ad
"
);
ctx
.
strokeColor
=
color
;
ctx
.
lineWidth
=
3
;
// 移动到当前开始节点的中心开始画线
// 移动到当前开始节点的中心开始画线
ctx
.
moveTo
(
0
,
0
);
ctx
.
moveTo
(
0
,
0
);
// 终点坐标在上面已经计算好了 这里使用
// 终点坐标在上面已经计算好了 这里使用
...
...
assets/DG_FAF/script/defaultData_DG_FAF.ts
View file @
52d07904
This diff is collapsed.
Click to expand it.
assets/DG_FAF/textures/slider.png.meta
View file @
52d07904
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
"rawHeight": 300,
"rawHeight": 300,
"borderTop": 19,
"borderTop": 19,
"borderBottom": 22,
"borderBottom": 22,
"borderLeft":
8
,
"borderLeft":
0
,
"borderRight":
8
,
"borderRight":
4
,
"subMetas": {}
"subMetas": {}
}
}
}
}
...
...
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