Fix Face Properties tint UI not updating correctly

This commit is contained in:
JannisX11 2023-12-29 13:55:11 +01:00
parent 12ed1888e6
commit e966dfd9c0
2 changed files with 2 additions and 1 deletions

View File

@ -3613,6 +3613,7 @@ Interface.definePanels(function() {
toggleFaceTint(key, event) {
Undo.initEdit({elements: Cube.selected, uv_only: true})
UVEditor.switchTint(event)
UVEditor.vue.$forceUpdate();
Undo.finishEdit('Toggle face tint')
},
changeFaceTint(key, event) {

View File

@ -2105,7 +2105,7 @@
"uv_editor.title": "UV Editor",
"uv_editor.face_properties": "Face Properties",
"uv_editor.face_properties.material_instance": "Material Instance",
"uv_editor.tint.info": "Tint can be enabled on a face to tell the Minecraft to tint it. In vanilla, tint can only be used by specific blocks such as leaves and redstone dust, and can only have a value of 0.",
"uv_editor.tint.info": "Tint can be enabled on a face to tell Minecraft to tint it. In vanilla, tint can only be used by specific blocks such as leaves and redstone dust, and can only have a value of 0.",
"uv_editor.cullface.info": "Enabling cullface tells a face on a block to unrender if another full block is placed next to it in the specified direction in your Minecraft world. This can be used to optimize performance.",
"uv_editor.material_instance.info": "Material instances can be set to a user-defined name. That name can be used in the block JSON file in the behavior pack to assign a particular texture and material that the face.",
"uv_editor.show_all_faces": "Show All Faces",