Merge remote-tracking branch 'origin/dev' into cleanup

This commit is contained in:
Az committed 2026-09-23 18:56:29 -04:00
commit ca5a43a121
2 files changed
+4

No files matched your search

+2
View File
@@ -355,6 +355,8 @@ public static class RoleGuidePatches
currentAdvancedTabObject.transform.SetParent(advancedWikiTab.Inner.transform);
desc.transform.localPosition = new Vector3(0, 1.125f, 0);
currentAdvancedTabObject.transform.localPosition = new Vector3(0f, 0f, 0f);
desc.ForceMeshUpdate();
AdvancedWikiTab.SetYBoundsMax(Mathf.Clamp(desc.textBounds.size.y- 2, 0f, 999f));
}
}
+2
View File
@@ -328,6 +328,8 @@ public interface ICustomRole : IOptionable
desc.alignment = TextAlignmentOptions.TopLeft;
obj.transform.SetParent(parent.Inner.transform);
desc.transform.localPosition = new Vector3(0, 1.125f, 0);
desc.ForceMeshUpdate();
parent.SetYBoundsMax(Mathf.Clamp(desc.textBounds.size.y - 2, 0f, 999f));
return obj;
}