Skip to content

Commit

Permalink
Fix bad enter key handing in craftguide
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy committed Feb 19, 2017
1 parent 14c620e commit 9ea2c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/HUD/mcl_craftguide/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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;-]"..
Expand Down

0 comments on commit 9ea2c77

Please sign in to comment.