Skip to content

Commit

Permalink
Builtin UI: Move box element to ensure correct draw order
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Aug 8, 2019
1 parent d1c27c7 commit b19400a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/fstk/ui.lua
Expand Up @@ -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") .. "]"
}
Expand All @@ -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
Expand Down

0 comments on commit b19400a

Please sign in to comment.