Keep advanced wiki pages at local scale when parenting

This commit is contained in:
ReAdmin committed 2026-10-08 18:46:44 -07:00
1 parent ec4a5f2bae
commit c5431f0666
1 file changed
+1 -1
+1 -1
View File
@@ -775,7 +775,7 @@ public static class Helpers
grid.localScale = new Vector3(1.3f, 1.3f, 1);
}
obj.transform.SetParent(parent.Inner.transform);
obj.transform.SetParent(parent.Inner.transform, false);
obj.transform.localPosition = new Vector3(0f, 0f, 0f);
parent.SetYBoundsMax(Mathf.Clamp(desc.textBounds.size.y - 2 + Mathf.Ceil(num / 2f) * 1.45f, 0f, 999f));
return obj;