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: 33d3373faf ("stand: lua: convert orb to a new format [...]")
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user