git: 59b6187c570d - stable/13 - loader/menu: tweak for added line
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Dec 2024 18:54:56 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=59b6187c570d655c619dc32181934287e956bc43
commit 59b6187c570d655c619dc32181934287e956bc43
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-08-22 23:28:51 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-12-28 18:12:21 +0000
loader/menu: tweak for added line
I added a line to the menu, but didn't adjust so things were a
line off. Make the necessary adjustments.
Fixes: 7cb65be96d47
Sponsored by: Netflix
MFC After: 3 days
(cherry picked from commit 101afbc6ee2f06f77e6886f1f3ffe115c579967c)
---
stand/lua/drawer.lua | 2 +-
stand/lua/menu.lua | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua
index 2dcf7d5de0f8..5a6a2174d13c 100644
--- a/stand/lua/drawer.lua
+++ b/stand/lua/drawer.lua
@@ -459,7 +459,7 @@ logodefs = {
brand_position = {x = 2, y = 1}
logo_position = {x = 46, y = 4}
menu_position = {x = 5, y = 10}
-frame_size = {w = 42, h = 13}
+frame_size = {w = 42, h = 14}
default_shift = {x = 0, y = 0}
shift = default_shift
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
index d74c7cd68791..894c0af69d35 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -535,7 +535,7 @@ end
function menu.autoboot(delay)
local x = loader.getenv("loader_menu_timeout_x") or 4
- local y = loader.getenv("loader_menu_timeout_y") or 23
+ local y = loader.getenv("loader_menu_timeout_y") or 24
local endtime = loader.time() + delay
local time
local last