Fixed the lights to be ordered from top to bottom on the list.

This commit is contained in:
originalnicodr committed 2023-02-24 10:20:26 -03:00
1 parent 522e5a0d7b
commit 3b66a321b2
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ namespace UnityExplorer.UI.Panels
}
private void DrawOptionsLights(GameObject light){
GameObject horiGroup = UIFactory.CreateHorizontalGroup(UIRoot, "LightOptions", true, true, true, true, 4,
GameObject horiGroup = UIFactory.CreateHorizontalGroup(ContentRoot, "LightOptions", true, false, true, false, 4,
default, new Color(1, 1, 1, 0), TextAnchor.MiddleLeft);
UIFactory.SetLayoutElement(horiGroup, minHeight: 25, flexibleWidth: 9999);
UIElements.Add(horiGroup);