From 85eaa54f5b025cae0492832256712c17bc0f0cf4 Mon Sep 17 00:00:00 2001 From: kaadmy Date: Wed, 4 Nov 2015 16:11:25 -0800 Subject: [PATCH] made the text input selected first when opening a sign --- mods/default/formspec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/formspec.lua b/mods/default/formspec.lua index ef71124..963eccc 100644 --- a/mods/default/formspec.lua +++ b/mods/default/formspec.lua @@ -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.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 .. "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 .. "field[1,1.75;7,0;text;;${text}]" default.ui.register_page("core_field", form_core_field) local form_crafting = default.ui.get_page("core_2part")