Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
T_FT_01
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
T_FT_01
Commits
17f98669
Commit
17f98669
authored
Dec 30, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:移除关按钮
parent
6fc8a15b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
356 additions
and
466 deletions
+356
-466
Scene.fire
play/assets/tmpGame/scene/Scene.fire
+354
-457
Scene.js
play/assets/tmpGame/script/Scene.js
+2
-9
No files found.
play/assets/tmpGame/scene/Scene.fire
View file @
17f98669
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/script/Scene.js
View file @
17f98669
...
...
@@ -355,8 +355,8 @@ cc.Class({
const
bottomPart
=
cc
.
find
(
'
Canvas/bottomBtn
'
)
bottomPart
.
scale
=
this
.
_mapScaleMin
;
bottomPart
.
x
=
bottomPart
.
parent
.
width
/
2
;
bottomPart
.
y
=
-
bottomPart
.
parent
.
height
/
2
;
//
bottomPart.x = bottomPart.parent.width / 2;
//
bottomPart.y = -bottomPart.parent.height / 2;
const
lastBtn
=
bottomPart
.
getChildByName
(
'
btn_last
'
);
...
...
@@ -364,8 +364,6 @@ cc.Class({
const
refreshBtn
=
bottomPart
.
getChildByName
(
'
btn_refresh
'
);
const
closeBtn
=
bottomPart
.
getChildByName
(
'
btn_close
'
);
btnClickAnima
(
lastBtn
)
lastBtn
.
on
(
'
click
'
,
()
=>
{
if
(
!
this
.
_cantouch
)
{
...
...
@@ -398,11 +396,6 @@ cc.Class({
this
.
refreshBtnStatue
();
})
btnClickAnima
(
closeBtn
)
closeBtn
.
on
(
'
click
'
,
()
=>
{
})
this
.
refreshBtnStatue
();
},
...
...
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