Commit 999adaf7 authored by wildfirecode's avatar wildfirecode

1

parent b12ad23d
...@@ -18,5 +18,6 @@ ...@@ -18,5 +18,6 @@
<e:Image id="icon24" width="60" height="60" y="2" source="startpanel_ele24_png"/> <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="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="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:BitmapLabel id="txt" text="X0" font="nums2_fnt" scaleX="0.4" scaleY="0.4" y="46" horizontalCenter="0"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -6,7 +6,7 @@ export default class TargetItemRenderer extends eui.ItemRenderer { ...@@ -6,7 +6,7 @@ export default class TargetItemRenderer extends eui.ItemRenderer {
} }
dataChanged() { dataChanged() {
for (let i = 0; i < 28; i++) { for (let i = 0; i < 100; i++) {
if (this['icon' + i]) if (this['icon' + i])
this['icon' + i].visible = false; this['icon' + i].visible = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment