From 1912e303bb46daafe7f1a0f71966ab33e35e105d Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:38:41 +0000 Subject: [PATCH] fix position of selector inputs --- src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs b/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs index 8a8b3f22..62065d75 100644 --- a/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs +++ b/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs @@ -334,8 +334,8 @@ public IOWMLOptionsSelectorElement AddSelectorInput(Menu menu, string label, str .Find("UIElement-ControllerProfile").gameObject; var newSelector = Object.Instantiate(existingSelector); - newSelector.transform.localPosition = Vector3.zero; newSelector.transform.parent = GetParentForAddedElements(menu); + newSelector.transform.localPosition = Vector3.zero; newSelector.transform.localScale = Vector3.one; newSelector.transform.name = $"UIElement-{label}"; newSelector.transform.localRotation = Quaternion.identity;