Skip to content

Commit

Permalink
Protector: on mobile: lets Done kb button == Enter. Expected close
Browse files Browse the repository at this point in the history
  • Loading branch information
alek13 committed Jan 27, 2025
1 parent ac35c1a commit cba2457
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mods/lord/Blocks/protector_lott/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ protector.generate_formspec = function(meta)
formspec = formspec
.. spec.field(pos_x + 0.3, pos_y + 0.3, 1.433, .5, "protector_add_member", "", "")
.. spec.button(pos_x + 1.25, pos_y, 0.75, .5, "add", "+")
.. spec.field_enter_after_edit("protector_add_member", "true")
.. spec.field_close_on_enter("protector_add_member", "false")
end

Expand Down

0 comments on commit cba2457

Please sign in to comment.