From 822f4a2294cd702b9cb39ae40d461d02728a6a0d Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Tue, 1 Sep 2020 14:53:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=AE=E7=BD=97=E7=95=8C=E9=9D=A2=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/Prefabs/UI/Map/MapPanel.prefab | 4 ++-- Assets/ManagedResources/~Lua/Modules/Map/TrialMapPanel.lua | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/Prefabs/UI/Map/MapPanel.prefab b/Assets/ManagedResources/Prefabs/UI/Map/MapPanel.prefab index 7a4dd187a6..20dfe97602 100644 --- a/Assets/ManagedResources/Prefabs/UI/Map/MapPanel.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Map/MapPanel.prefab @@ -108744,7 +108744,7 @@ MonoBehaviour: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6874390154766067829} - m_Enabled: 1 + m_Enabled: 0 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Name: @@ -108784,7 +108784,7 @@ MonoBehaviour: m_Top: 0 m_Bottom: 20 m_ChildAlignment: 4 - m_Spacing: 20 + m_Spacing: 0 m_ChildForceExpandWidth: 0 m_ChildForceExpandHeight: 0 m_ChildControlWidth: 0 diff --git a/Assets/ManagedResources/~Lua/Modules/Map/TrialMapPanel.lua b/Assets/ManagedResources/~Lua/Modules/Map/TrialMapPanel.lua index e80aced850..325875e316 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/TrialMapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/TrialMapPanel.lua @@ -506,6 +506,7 @@ function this.SetSelectHero(isFirstIn,isFirstData,isMainIn) if not o then o=newObjToParent(this.s_pre,this.s_grid) o.name="pre"..i + o:GetComponent("RectTransform").localScale = Vector2.New(0.9, 0.9) heroList[i]=o end o.gameObject:SetActive(true)