The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=a0a8e7a89e096bd2567894a06a749e3f3cf658a9
commit a0a8e7a89e096bd2567894a06a749e3f3cf658a9 Author: Kyle Evans <[email protected]> AuthorDate: 2021-09-08 21:33:28 +0000 Commit: Kyle Evans <[email protected]> CommitDate: 2021-09-12 05:39:33 +0000 lualoader: allow brands to specify a shift Some brands will want to specify a shift to make sure they're properly centered; let it happen. (cherry picked from commit e19d9a9b6e44e15087a140a26ab3e24b07f6ba56) --- stand/lua/drawer.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua index 8a0fe3bb066e..499b59e37daf 100644 --- a/stand/lua/drawer.lua +++ b/stand/lua/drawer.lua @@ -290,6 +290,11 @@ local function drawbrand() x = x + shift.x y = y + shift.y + if branddef.shift ~= nil then + x = x + branddef.shift.x + y = y + branddef.shift.y + end + draw(x, y, graphic) end _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
