文本修正,对齐功能
This commit is contained in:
1 parent
44ce99cbac
commit
b714900001
2 files changed
+7
-7
No files matched your search
@@ -127,7 +127,7 @@ class CookRecipe(baseScreen):
|
|||||||
|
|
||||||
def RenderItem(self, itemRender, itemInfo):
|
def RenderItem(self, itemRender, itemInfo):
|
||||||
if not itemInfo:
|
if not itemInfo:
|
||||||
itemRender.SetUiItem('minecraft:air', 0)
|
itemRender.SetVisible(False, False)
|
||||||
return
|
return
|
||||||
itemName = itemInfo['itemName']
|
itemName = itemInfo['itemName']
|
||||||
count = itemInfo['count']
|
count = itemInfo['count']
|
||||||
|
|||||||
@@ -204,7 +204,7 @@
|
|||||||
0.1764705882352941
|
0.1764705882352941
|
||||||
],
|
],
|
||||||
"font_type": "default",
|
"font_type": "default",
|
||||||
"text": "结果:",
|
"text": "锅底:",
|
||||||
"text_alignment": "center"
|
"text_alignment": "center"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
0.1764705882352941
|
0.1764705882352941
|
||||||
],
|
],
|
||||||
"font_type": "default",
|
"font_type": "default",
|
||||||
"text": "共有步骤:",
|
"text": "锅底步骤:",
|
||||||
"text_alignment": "center"
|
"text_alignment": "center"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1280,8 +1280,8 @@
|
|||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"recipe@rtdd_caipu.recipe_3": {
|
"recipe@rtdd_caipu.recipe_3": {
|
||||||
"anchor_from": "left_middle",
|
"anchor_from": "right_middle",
|
||||||
"anchor_to": "left_middle"
|
"anchor_to": "right_middle"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -1334,8 +1334,8 @@
|
|||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"recipe@rtdd_caipu.recipe_3": {
|
"recipe@rtdd_caipu.recipe_3": {
|
||||||
"anchor_from": "left_middle",
|
"anchor_from": "right_middle",
|
||||||
"anchor_to": "left_middle"
|
"anchor_to": "right_middle"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user