made the text input selected first when opening a sign

This commit is contained in:
kaadmy 2015-11-04 16:11:25 -08:00
parent 1abbd0b603
commit 85eaa54f5b
1 changed files with 1 additions and 1 deletions

View File

@ -197,8 +197,8 @@ form_core_field = form_core_field .. "size[8.5,5]"
form_core_field = form_core_field .. default.ui.core.colors form_core_field = form_core_field .. default.ui.core.colors
form_core_field = form_core_field .. default.ui.core.bg form_core_field = form_core_field .. default.ui.core.bg
form_core_field = form_core_field .. "background[0,0;8.5,4.5;ui_formspec_bg_short.png]" form_core_field = form_core_field .. "background[0,0;8.5,4.5;ui_formspec_bg_short.png]"
form_core_field = form_core_field .. "field[1,1.75;7,0;text;;${text}]"
form_core_field = form_core_field .. default.ui.button_exit(2.75, 3, 3, 1, "", "Write", false) form_core_field = form_core_field .. default.ui.button_exit(2.75, 3, 3, 1, "", "Write", false)
form_core_field = form_core_field .. "field[1,1.75;7,0;text;;${text}]"
default.ui.register_page("core_field", form_core_field) default.ui.register_page("core_field", form_core_field)
local form_crafting = default.ui.get_page("core_2part") local form_crafting = default.ui.get_page("core_2part")