mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Merge remote-tracking branch 'origin/dev' into cleanup
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user