界面调整
This commit is contained in:
parent
00b1c43f54
commit
e58626d82b
@ -154,7 +154,8 @@ function HeroComp:onClickHero(cell, heroId)
|
||||
targetPos = CS.BF.Utils.RectTransformScreenPointToLocalPointInRectangle(self.content:getTransform(), sPoint.x, sPoint.y, UIManager:getUICameraComponent())
|
||||
self.largeHeroCell:getBaseObject():setAnchoredPosition(targetPos.x, targetPos.y)
|
||||
self.largeHeroCell:getBaseObject():getTransform():SetAsLastSibling()
|
||||
self.largeHeroCell:refresh(entity, self.stageFormation[entity:getMatchType()] == heroId)
|
||||
self.largeHeroCell:refresh(entity, not entity:isActived())
|
||||
self.largeHeroCell:showCheck(self.stageFormation[entity:getMatchType()] == heroId)
|
||||
else
|
||||
ModuleManager.HeroManager:showHeroDetailUI(heroId)
|
||||
self.largeHeroCell:getBaseObject():setAnchoredPositionX(OUT_SCREEN_X)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user