Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbox_tracingLetters
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
Sbox_tracingLetters
Commits
f995a9b7
Commit
f995a9b7
authored
Jan 15, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
ee489dd3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
n_xuan1.fire
play/assets/tmpGame/scene/n_xuan1.fire
+5
-5
n_xuan1.js
play/assets/tmpGame/scene/n_xuan1.js
+2
-2
No files found.
play/assets/tmpGame/scene/n_xuan1.fire
View file @
f995a9b7
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
"array": [
"array": [
0,
0,
0,
0,
361.9986187818954
,
273.54286020177153
,
0,
0,
0,
0,
0,
0,
...
@@ -5221,7 +5221,7 @@
...
@@ -5221,7 +5221,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
35dGJsFRRO3IqzWWXtnNzA
"
"_id": "
06puSejsdB7JE/aDbkuc4T
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -5257,7 +5257,7 @@
...
@@ -5257,7 +5257,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
88lpZGxa1PwZMyMXVkpOEW
"
"_id": "
28JET8+WBJpJ8DZsDvtwLg
"
},
},
{
{
"__type__": "cc.PrivateNode",
"__type__": "cc.PrivateNode",
...
@@ -5320,7 +5320,7 @@
...
@@ -5320,7 +5320,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
b2RXCeOL9EP6R9acGAHYig
"
"_id": "
97t8KGeWxN3KUNS6sWUy/a
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -5356,7 +5356,7 @@
...
@@ -5356,7 +5356,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
0cWlolPsVBUoeQ7Fq3yXcs
"
"_id": "
68gZuRd1RPY5vEdnZd9pWi
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
...
play/assets/tmpGame/scene/n_xuan1.js
View file @
f995a9b7
...
@@ -335,7 +335,7 @@ cc.Class({
...
@@ -335,7 +335,7 @@ cc.Class({
repositionButton
()
{
repositionButton
()
{
const
btn_restart
=
cc
.
find
(
'
Canvas/buttons/btn_restart
'
);
const
btn_restart
=
cc
.
find
(
'
Canvas/buttons/btn_restart
'
);
btn_restart
.
y
=
-
cc
.
winSize
.
height
/
2
+
8
0
btn_restart
.
y
=
-
cc
.
winSize
.
height
/
2
+
4
0
},
},
initListeners
()
{
initListeners
()
{
...
@@ -352,7 +352,7 @@ cc.Class({
...
@@ -352,7 +352,7 @@ cc.Class({
let
that
=
this
let
that
=
this
cc
.
view
.
setResizeCallback
(
function
()
{
cc
.
view
.
setResizeCallback
(
function
()
{
// console.log("sizeChange");
// console.log("sizeChange");
th
is
.
repositionButton
();
th
at
.
repositionButton
();
});
});
btn_restart
.
on
(
'
click
'
,
async
()
=>
{
btn_restart
.
on
(
'
click
'
,
async
()
=>
{
...
...
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