|  | @@ -23,11 +23,10 @@ namespace GFGGame
 | 
	
		
			
				|  |  |          private Controller _scaleType;
 | 
	
		
			
				|  |  |          // private GGroup _grpCount;
 | 
	
		
			
				|  |  |          private bool _showTips = true;
 | 
	
		
			
				|  |  | -        private bool _textScale = false;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          private ItemData _itemData;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        public ItemView(GComponent obj,bool textScale = false)
 | 
	
		
			
				|  |  | +        public ItemView(GComponent obj)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              _obj = obj;
 | 
	
		
			
				|  |  |              _item = obj.GetChild("comItemIcon").asCom;
 | 
	
	
		
			
				|  | @@ -48,7 +47,6 @@ namespace GFGGame
 | 
	
		
			
				|  |  |              // AddClickListener();
 | 
	
		
			
				|  |  |              _item.onClick.Remove(AddClickListener);
 | 
	
		
			
				|  |  |              _item.onClick.Add(AddClickListener);
 | 
	
		
			
				|  |  | -            _textScale = textScale;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          public void Dispose()
 | 
	
		
			
				|  |  |          {
 | 
	
	
		
			
				|  | @@ -93,11 +91,8 @@ namespace GFGGame
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              if(itemCfg.rarity > 0)
 | 
	
		
			
				|  |  |                  _qualityType.selectedIndex = itemCfg.rarity - 1;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -            _scaleType.selectedIndex = _textScale ? 1 : 0;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          public ItemData ItemData
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              get
 | 
	
	
		
			
				|  | @@ -244,6 +239,7 @@ namespace GFGGame
 | 
	
		
			
				|  |  |              set
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  _txtCount.SetScale(value, value);
 | 
	
		
			
				|  |  | +                _imgNum.SetScale(value, value);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          public float SetTxtNameScale
 |