diff --git a/lua/app/ui/hero/hero_detail_ui.lua b/lua/app/ui/hero/hero_detail_ui.lua index d8593be8..8f1d8464 100644 --- a/lua/app/ui/hero/hero_detail_ui.lua +++ b/lua/app/ui/hero/hero_detail_ui.lua @@ -74,7 +74,7 @@ function HeroDetailUI:_display(lvChange) skillBg:setSprite(GConst.ATLAS_PATH.ICON_SKILL_ROGUE, ModuleManager.HeroManager:getSkillRogueBg(skillId, true)) if i == activeCount and lvChange and self.heroEntity:getLv() == skillLvs[i] then local x, y = skillBg:fastGetAnchoredPosition() - self.spineObjSkill:setLocalPosition(x, y) + self.spineObjSkill:setAnchoredPosition(x, y) self.spineObjSkill:setVisible(true) self.spineObjSkill:playAnim("idle", false, true) end