From 9ea2c77fdfbe2b8ddb9412ff7511c0643bad3c0e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 19 Feb 2017 02:17:42 +0100 Subject: [PATCH] Fix bad enter key handing in craftguide --- mods/HUD/mcl_craftguide/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/HUD/mcl_craftguide/init.lua b/mods/HUD/mcl_craftguide/init.lua index 409a86a86..c40f5a7ff 100644 --- a/mods/HUD/mcl_craftguide/init.lua +++ b/mods/HUD/mcl_craftguide/init.lua @@ -253,14 +253,14 @@ function craftguide:get_formspec(player_name, is_fuel) local formspec = "size["..data.iX..","..(iY+3)..".6;]".. mcl_vars.gui_slots .. mcl_vars.gui_bg .. - [[background[1,1;1,1;craftguide_bg.png;true] + [=[background[1,1;1,1;craftguide_bg.png;true] button[2.4,0.21;0.8,0.5;search;?] button[3.05,0.21;0.8,0.5;clear;X] tooltip[search;Search] tooltip[clear;Reset] tooltip[size_inc;Increase window size] tooltip[size_dec;Decrease window size] - field_close_on_enter[filter, false] ]].. + field_close_on_enter[filter;false]]=].. "button["..(data.iX/2)..",-0.02;0.7,1;size_inc;+]".. "button["..((data.iX/2) + 0.5).. ",-0.02;0.7,1;size_dec;-]"..