Date: Fri, 13 Jun 2025 02:34:36 GMT From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 1beab149d0b9 - main - stand: lua: add a more productive comment Message-ID: <202506130234.55D2YakX022302@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506130234.55D2YakX022302>