Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
The branch stable/14 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=a0b8aa91546934bb3d0e2ae30ada7a0a48522b3b

commit a0b8aa91546934bb3d0e2ae30ada7a0a48522b3b
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-06-13 02:31:54 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-07-21 02:12:26 +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 [...]")
    (cherry picked from commit 1beab149d0b9768ad6d07501326a2060d7b0ba58)
---
 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 e853cc655269..01802d8e9d81 100644
--- a/stand/lua/drawer.lua
+++ b/stand/lua/drawer.lua
@@ -369,7 +369,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?>