git: 1beab149d0b9 - main - stand: lua: add a more productive comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jun 2025 02:34:36 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=1beab149d0b9768ad6d07501326a2060d7b0ba58
commit 1beab149d0b9768ad6d07501326a2060d7b0ba58
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-06-13 02:31:54 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-06-13 02:33:11 +0000
stand: lua: add a more productive comment
The global `shift` is a special little hack for shifting everything when
the logo is gone, and we should explain that.
Fixes: 33d3373faf30d ("stand: lua: convert orb to a new format [...]")
---
stand/lua/drawer.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua
index bc0dc543a9fd..334d8724f6bc 100644
--- a/stand/lua/drawer.lua
+++ b/stand/lua/drawer.lua
@@ -377,7 +377,9 @@ local function drawlogo()
end
end
- -- XXX What the hell is going on here?
+ -- This is a special little hack for the "none" logo to re-align the
+ -- menu and the brand to avoid having a lot of extraneous whitespace on
+ -- the right side.
if logodef and logodef.ascii.image == none then
shift = logodef.shift
else