Skip to content

Commit b19400a

Browse files
committedAug 8, 2019
Builtin UI: Move box element to ensure correct draw order
1 parent d1c27c7 commit b19400a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎builtin/fstk/ui.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ function ui.update()
6464
formspec = {
6565
"size[14,8]",
6666
"real_coordinates[true]",
67+
"box[0.5,1.2;13,5;#000]",
6768
("textarea[0.5,1.2;13,5;;%s;%s]"):format(
6869
fgettext("The server has requested a reconnect:"), error_message),
69-
"box[0.5,1.2;13,5;#000]",
7070
"button[2,6.6;4,1;btn_reconnect_yes;" .. fgettext("Reconnect") .. "]",
7171
"button[8,6.6;4,1;btn_reconnect_no;" .. fgettext("Main menu") .. "]"
7272
}
@@ -82,9 +82,9 @@ function ui.update()
8282
formspec = {
8383
"size[14,8]",
8484
"real_coordinates[true]",
85+
"box[0.5,1.2;13,5;#000]",
8586
("textarea[0.5,1.2;13,5;;%s;%s]"):format(
8687
error_title, error_message),
87-
"box[0.5,1.2;13,5;#000]",
8888
"button[5,6.6;4,1;btn_error_confirm;" .. fgettext("Ok") .. "]"
8989
}
9090
else

0 commit comments

Comments
 (0)
Please sign in to comment.