From b03158bde6baabb59a769a141e22613b13fa7f25 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 30 Jun 2023 09:36:51 +0200 Subject: [PATCH] Fix enchanting buttons overlapping with background --- src/enchanting.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/enchanting.lua b/src/enchanting.lua index 2826495..bcdc0cf 100644 --- a/src/enchanting.lua +++ b/src/enchanting.lua @@ -58,9 +58,9 @@ function enchanting:get_tooltip(enchant, orig_caps, fleshy) end local enchant_buttons = { - "image_button[3.9,0.85;4,0.92;bg_btn.png;fast;"..FS("Efficiency").."]" .. - "image_button[3.9,1.77;4,1.12;bg_btn.png;durable;"..FS("Durability").."]", - "image_button[3.9,2.9;4,0.92;bg_btn.png;sharp;"..FS("Sharpness").."]", + "image_button[3.6,0.67;4.75,0.85;bg_btn.png;fast;"..FS("Efficiency").."]" .. + "image_button[3.6,1.65;4.75,1.05;bg_btn.png;durable;"..FS("Durability").."]", + "image_button[3.6,2.8;4.75,0.85;bg_btn.png;sharp;"..FS("Sharpness").."]", } function enchanting.formspec(pos, num)