Mount safechat menu to the correct parent object.
This commit is contained in:
parent
498eb67312
commit
96905234b4
|
|
@ -63,8 +63,8 @@ local function activateRootTree()
|
||||||
chatButton.Image = IMG_CHAT_DN
|
chatButton.Image = IMG_CHAT_DN
|
||||||
|
|
||||||
if UserInputService:GetLastInputType() == Enum.UserInputType.Gamepad1 then
|
if UserInputService:GetLastInputType() == Enum.UserInputType.Gamepad1 then
|
||||||
GuiService:AddSelectionParent("SafeChatNav", safeChat)
|
GuiService:AddSelectionParent("SafeChatNav", chatButton)
|
||||||
GuiService.SelectedObject = safeChat
|
GuiService.SelectedObject = chatButton
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -124,7 +124,7 @@ local function assembleTree(tree)
|
||||||
end
|
end
|
||||||
|
|
||||||
rootTree = assembleTree(safeChatTree)
|
rootTree = assembleTree(safeChatTree)
|
||||||
rootTree.Parent = safeChat
|
rootTree.Parent = chatButton
|
||||||
|
|
||||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
-- Button State
|
-- Button State
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue