Commit 638cbe46 authored by wildfirecode's avatar wildfirecode

1

parents b1675f08 177abe4b
...@@ -9,7 +9,7 @@ export default class TargetItemRenderer extends eui.ItemRenderer { ...@@ -9,7 +9,7 @@ export default class TargetItemRenderer extends eui.ItemRenderer {
dataChanged(){ dataChanged(){
this['icon_LOLLIPOP'].visible=this.data.type == ElementType.LOLLIPOP; this['icon_LOLLIPOP'].visible=this.data.type == ElementType.LOLLIPOP;
this['icon_ICE'].visible=this.data.type == ElementType.ICE; this['icon_ICE'].visible=this.data.type == ElementType.ICE;
// this['icon_xxx'].visible=this.data.type == ElementType.xxx; this['icon_xxx'].visible=this.data.type == ElementType.ROCK;
this['txt'].text = `X${this.data.count }`; this['txt'].text = `X${this.data.count }`;
} }
} }
\ No newline at end of file
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