diff --git a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_PracticeStatePreview.lua b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_PracticeStatePreview.lua index 0e1f873a13..8e2131a646 100644 --- a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_PracticeStatePreview.lua +++ b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_PracticeStatePreview.lua @@ -44,7 +44,7 @@ function PracticeStatePreview:OnShow(_parent,_args) self:SetSingleData(index,go,self.previewData[index]) end) ForceRebuildLayout(self.GameObject.transform) - self.ScrollView:SetIndex(PracticeManager.PracticeBigLevel > 0 and PracticeManager.PracticeBigLevel - 1 or 1) + self.ScrollView:SetIndex(PracticeManager.PracticeBigLevel) end function PracticeStatePreview:SetSingleData(index,_go,_data) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua index abfa2d0fcb..3aed72e05f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua @@ -352,7 +352,7 @@ function this.FormationAdapter(teamInfo) local hero = Util.GetGameObject(item,"hero"):GetComponent("Image") icon.sprite = this.spLoader:LoadSprite(GetResourcePath(XiuXianSkillConfig[value.id].Icon)) if value.type == 1 then - hero.gameObject:SetActive(true) + hero.gameObject:SetActive(false)--头像太小说不要了 hero.sprite = this.spLoader:LoadSprite(GetSpriteNameByItemId(value.heroTId)) else hero.gameObject:SetActive(false)