loader: insert spaces around menu title

Small visual nit, make menu title more clean

MFC after: 3 days
This commit is contained in:
Toomas Soome 2021-03-23 07:04:48 +02:00
parent 3ead60236f
commit 62ffcaab8f
2 changed files with 4 additions and 3 deletions

View File

@ -489,7 +489,8 @@ also menu-infrastructure definitions
if ( use default center alignement? ) if ( use default center alignement? )
menuX @ 19 + over 2 / - menuY @ 1- menuX @ 19 + over 2 / - menuY @ 1-
then then
at-xy type swap 1- swap
at-xy space type space
\ If $menu_init is set, evaluate it (allowing for whole menus to be \ If $menu_init is set, evaluate it (allowing for whole menus to be
\ constructed dynamically -- as this function could conceivably set \ constructed dynamically -- as this function could conceivably set

View File

@ -285,8 +285,8 @@ local function drawbox()
if menu_header_x == nil then if menu_header_x == nil then
menu_header_x = x + (w // 2) - (#menu_header // 2) menu_header_x = x + (w // 2) - (#menu_header // 2)
end end
screen.setcursor(menu_header_x, y) screen.setcursor(menu_header_x - 1, y)
printc(menu_header) printc(" " .. menu_header .. " ")
end end
local function drawbrand() local function drawbrand()