Merge branch 'cassidy'
This commit is contained in:
commit
6cd9c44d28
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ namespace PvZ_Fusion_Translator.Patches.GameObjects
|
||||||
text.fontSizeMax = 21;
|
text.fontSizeMax = 21;
|
||||||
}
|
}
|
||||||
|
|
||||||
__instance.showedPlantIntroduce.text = Utils.RemoveSizeTags(plantInfo.info) + "\n\n" + Utils.RemoveSizeTags(plantInfo.introduce) + "\n\n";
|
char[] toTrim = Environment.NewLine.ToCharArray();
|
||||||
|
__instance.showedPlantIntroduce.text = Utils.RemoveSizeTags(plantInfo.info) + "\n\n" + Utils.RemoveSizeTags(plantInfo.introduce) + "\n\n" + Utils.RemoveSizeTags(plantInfo.cost).TrimStart(toTrim) + "\n\n";
|
||||||
__instance.showedPlantIntroduce.font = fontAsset;
|
__instance.showedPlantIntroduce.font = fontAsset;
|
||||||
__instance.showedPlantIntroduce.margin = new Vector4(6, 2, 12, 0);
|
__instance.showedPlantIntroduce.margin = new Vector4(6, 2, 12, 0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue