diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2021-09-08 21:33:28 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2021-09-09 07:01:50 +0000 |
| commit | e19d9a9b6e44e15087a140a26ab3e24b07f6ba56 (patch) | |
| tree | 59f181acaddf578b0c5d7ad4ec0c8071ca1cce7b | |
| parent | 763bcebe0b6d5e53e5c8940a677de662e5652b6d (diff) | |
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.
| -rw-r--r-- | stand/lua/drawer.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua index b592b416033d..6f6e2fe1b3e8 100644 --- a/stand/lua/drawer.lua +++ b/stand/lua/drawer.lua @@ -308,6 +308,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 + if core.isFramebufferConsole() and loader.term_putimage ~= nil and branddef.image ~= nil then |
