Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wildfirecode13
xiaoxiaole
Commits
df7305c5
Commit
df7305c5
authored
Aug 30, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c3265068
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
MapSkin.exml
egret/resource/skins/MapSkin.exml
+2
-2
FailedPanel.ts
egret/src/panels/FailedPanel.ts
+5
-0
No files found.
egret/resource/skins/MapSkin.exml
View file @
df7305c5
...
...
@@ -84,7 +84,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Button
id=
"musicOffBtn"
label=
""
y=
"
73.95
"
horizontalCenter=
"0.5"
visible=
"false"
>
<e:Button
id=
"musicOffBtn"
label=
""
y=
"
13.69
"
horizontalCenter=
"0.5"
visible=
"false"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"音乐关闭_png"
source.down=
"音乐关闭_png"
source.disabled=
"音乐关闭_png"
/>
...
...
@@ -92,7 +92,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Button
id=
"soundOffBtn"
label=
""
y=
"
120.24
"
horizontalCenter=
"0.5"
visible=
"false"
>
<e:Button
id=
"soundOffBtn"
label=
""
y=
"
60.32
"
horizontalCenter=
"0.5"
visible=
"false"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"声音关闭_png"
source.down=
"声音关闭_png"
source.disabled=
"声音关闭_png"
/>
...
...
egret/src/panels/FailedPanel.ts
View file @
df7305c5
...
...
@@ -21,6 +21,11 @@ export default class FailedPanel extends Panel {
},
this
);
}
onTouchTap_closeBtn
()
{
super
.
onTouchTap_closeBtn
();
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
START_SCENE
);
}
protected
get
closeBtns
():
eui
.
Button
[]
{
return
[
this
[
'closeBtn'
]]
}
get
skinKey
()
{
return
'Fail'
}
}
\ No newline at end of file
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