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
999adaf7
Commit
999adaf7
authored
Feb 18, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b12ad23d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
TargetItemSkin.exml
egret/resource/skins/TargetItemSkin.exml
+1
-0
TargetItemRenderer.ts
egret/src/panels/TargetItemRenderer.ts
+1
-1
No files found.
egret/resource/skins/TargetItemSkin.exml
View file @
999adaf7
...
...
@@ -18,5 +18,6 @@
<e:Image
id=
"icon24"
width=
"60"
height=
"60"
y=
"2"
source=
"startpanel_ele24_png"
/>
<e:Image
id=
"icon25"
width=
"60"
height=
"60"
x=
"0"
y=
"2"
source=
"startpanel_ele25_png"
/>
<e:Image
id=
"icon26"
width=
"60"
height=
"60"
x=
"0"
y=
"2"
source=
"startpanel_ele26_png"
/>
<e:Image
id=
"icon34"
width=
"60"
height=
"60"
x=
"0"
y=
"2"
source=
"startpanel_ele26_png"
/>
<e:BitmapLabel
id=
"txt"
text=
"X0"
font=
"nums2_fnt"
scaleX=
"0.4"
scaleY=
"0.4"
y=
"46"
horizontalCenter=
"0"
/>
</e:Skin>
\ No newline at end of file
egret/src/panels/TargetItemRenderer.ts
View file @
999adaf7
...
...
@@ -6,7 +6,7 @@ export default class TargetItemRenderer extends eui.ItemRenderer {
}
dataChanged
()
{
for
(
let
i
=
0
;
i
<
28
;
i
++
)
{
for
(
let
i
=
0
;
i
<
100
;
i
++
)
{
if
(
this
[
'icon'
+
i
])
this
[
'icon'
+
i
].
visible
=
false
;
}
...
...
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