diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-08-01 14:43:31 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2019-08-08 19:33:43 +0200 |
commit | b19400aa74f30ef61ba0c1bb4a25a978e7cf4125 (patch) | |
tree | f8f0871b8a443eb266b11e16e93a578e57897702 /builtin/fstk | |
parent | d1c27c7e8037e9f438741ee5f7d3b6bda22d22a0 (diff) | |
download | minetest-b19400aa74f30ef61ba0c1bb4a25a978e7cf4125.tar.gz minetest-b19400aa74f30ef61ba0c1bb4a25a978e7cf4125.tar.bz2 minetest-b19400aa74f30ef61ba0c1bb4a25a978e7cf4125.zip |
Builtin UI: Move box element to ensure correct draw order
Diffstat (limited to 'builtin/fstk')
-rw-r--r-- | builtin/fstk/ui.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/fstk/ui.lua b/builtin/fstk/ui.lua index 4e6aa3c4e..884100543 100644 --- a/builtin/fstk/ui.lua +++ b/builtin/fstk/ui.lua @@ -64,9 +64,9 @@ function ui.update() formspec = { "size[14,8]", "real_coordinates[true]", + "box[0.5,1.2;13,5;#000]", ("textarea[0.5,1.2;13,5;;%s;%s]"):format( fgettext("The server has requested a reconnect:"), error_message), - "box[0.5,1.2;13,5;#000]", "button[2,6.6;4,1;btn_reconnect_yes;" .. fgettext("Reconnect") .. "]", "button[8,6.6;4,1;btn_reconnect_no;" .. fgettext("Main menu") .. "]" } @@ -82,9 +82,9 @@ function ui.update() formspec = { "size[14,8]", "real_coordinates[true]", + "box[0.5,1.2;13,5;#000]", ("textarea[0.5,1.2;13,5;;%s;%s]"):format( error_title, error_message), - "box[0.5,1.2;13,5;#000]", "button[5,6.6;4,1;btn_error_confirm;" .. fgettext("Ok") .. "]" } else |