Skip to content

Commit c3a1e61

Browse files
committed
making message slot instances' scale relative to parent
1 parent 02f50c5 commit c3a1e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/BossRoom/Scripts/Client/UI/UIMessageFeed.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ UIMessageSlot GetAvailableSlot()
101101
return slot;
102102
}
103103
}
104-
var go = Instantiate(m_MessageSlotPrefab, m_VerticalLayoutGroup.transform, true);
104+
var go = Instantiate(m_MessageSlotPrefab, m_VerticalLayoutGroup.transform);
105105
var messageSlot = go.GetComponentInChildren<UIMessageSlot>();
106106
m_MessageSlots.Add(messageSlot);
107107
return messageSlot;

0 commit comments

Comments
 (0)