Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et_02
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
et_02
Commits
a66a7ae9
Commit
a66a7ae9
authored
Feb 25, 2021
by
智慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:修改进度条的样式适配
parent
0ea01a0c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
20 deletions
+21
-20
helloworld.fire
play/assets/sbox-video-ljx/Scene/helloworld.fire
+7
-7
VideoPlayer.js
play/assets/sbox-video-ljx/Script/VideoPlayer.js
+1
-0
pb-forward-bg.png
play/assets/sbox-video-ljx/Texture/pb-forward-bg.png
+0
-0
pb-forward-bg.png.meta
play/assets/sbox-video-ljx/Texture/pb-forward-bg.png.meta
+13
-13
No files found.
play/assets/sbox-video-ljx/Scene/helloworld.fire
View file @
a66a7ae9
...
...
@@ -602,8 +602,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
88
0,
"height":
24
"width":
10
0,
"height":
16
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -667,8 +667,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
87
6,
"height":
24
"width":
1
6,
"height":
16
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -680,7 +680,7 @@
"ctor": "Float64Array",
"array": [
0,
-
13
,
-
8.5
,
0,
0,
0,
...
...
@@ -720,7 +720,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
79d95da5-1d6f-4e2e-8db8-aab4e32cf820
"
"__uuid__": "
1f8794d7-3dee-4349-b516-203741dc1b0d
"
},
"_type": 1,
"_sizeMode": 0,
...
...
@@ -748,7 +748,7 @@
"_target": null,
"_alignFlags": 40,
"_left": 0,
"_right": 4,
"_right":
8
4,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
...
...
play/assets/sbox-video-ljx/Script/VideoPlayer.js
View file @
a66a7ae9
...
...
@@ -273,6 +273,7 @@ cc.Class({
let
newX
=
percent
*
maxX
;
newX
=
Math
.
min
(
maxX
,
Math
.
max
(
newX
,
minX
));
this
.
barTag
.
width
=
newX
;
console
.
log
(
'
this.barTag.width
'
,
this
.
barTag
.
width
);
},
formatTime
(
time
)
{
if
(
time
===
undefined
)
{
...
...
play/assets/sbox-video-ljx/Texture/pb-forward-bg.png
View replaced file @
0ea01a0c
View file @
a66a7ae9
1.62 KB
|
W:
|
H:
622 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
play/assets/sbox-video-ljx/Texture/pb-forward-bg.png.meta
View file @
a66a7ae9
{
"ver": "2.3.5",
"uuid": "
f812f764-e14c-474f-9d06-7b615df8f024
",
"uuid": "
94c44a8d-1ba6-47ec-82d1-ddcd565b65a8
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 3
14
,
"height":
24
,
"width": 3
06
,
"height":
16
,
"platformSettings": {},
"subMetas": {
"pb-forward-bg": {
"ver": "1.0.4",
"uuid": "
79d95da5-1d6f-4e2e-8db8-aab4e32cf820
",
"rawTextureUuid": "
f812f764-e14c-474f-9d06-7b615df8f024
",
"uuid": "
1f8794d7-3dee-4349-b516-203741dc1b0d
",
"rawTextureUuid": "
94c44a8d-1ba6-47ec-82d1-ddcd565b65a8
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
@@ -22,14 +22,14 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 3
14
,
"height":
24
,
"rawWidth": 3
14
,
"rawHeight":
24
,
"borderTop":
0
,
"borderBottom":
0
,
"borderLeft":
31
,
"borderRight":
44
,
"width": 3
06
,
"height":
16
,
"rawWidth": 3
06
,
"rawHeight":
16
,
"borderTop":
7
,
"borderBottom":
7
,
"borderLeft":
20
,
"borderRight":
20
,
"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