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
6e169928
Commit
6e169928
authored
Feb 25, 2021
by
智慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:调整样式
parent
a66a7ae9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
helloworld.fire
play/assets/sbox-video-ljx/Scene/helloworld.fire
+6
-6
VideoPlayer.js
play/assets/sbox-video-ljx/Script/VideoPlayer.js
+0
-1
No files found.
play/assets/sbox-video-ljx/Scene/helloworld.fire
View file @
6e169928
...
@@ -667,8 +667,8 @@
...
@@ -667,8 +667,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
16
,
"width":
875
,
"height": 1
6
"height": 1
1.5
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -679,8 +679,8 @@
...
@@ -679,8 +679,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
3
,
-
8.5
,
-
6
,
0,
0,
0,
0,
0,
0,
...
@@ -747,8 +747,8 @@
...
@@ -747,8 +747,8 @@
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 40,
"_alignFlags": 40,
"_left":
0
,
"_left":
3
,
"_right":
84
,
"_right":
-778
,
"_top": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
...
play/assets/sbox-video-ljx/Script/VideoPlayer.js
View file @
6e169928
...
@@ -273,7 +273,6 @@ cc.Class({
...
@@ -273,7 +273,6 @@ cc.Class({
let
newX
=
percent
*
maxX
;
let
newX
=
percent
*
maxX
;
newX
=
Math
.
min
(
maxX
,
Math
.
max
(
newX
,
minX
));
newX
=
Math
.
min
(
maxX
,
Math
.
max
(
newX
,
minX
));
this
.
barTag
.
width
=
newX
;
this
.
barTag
.
width
=
newX
;
console
.
log
(
'
this.barTag.width
'
,
this
.
barTag
.
width
);
},
},
formatTime
(
time
)
{
formatTime
(
time
)
{
if
(
time
===
undefined
)
{
if
(
time
===
undefined
)
{
...
...
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