FreeBSD Bugzilla – Attachment 224381 Details for
Bug 255202
drawer.lua: brand positioning not working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch using git format-patch
0001-drawer.lua-Fix-brand-positioning.patch (text/plain), 1006 bytes, created by
Jose Luis Duran
on 2021-04-23 16:12:12 UTC
(
hide
)
Description:
Patch using git format-patch
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2021-04-23 16:12:12 UTC
Size:
1006 bytes
patch
obsolete
>From: Jose Luis Duran <jlduran@gmail.com> >Date: Sun, 23 Apr 2021 16:00:00 -0000 >Subject: [PATCH] drawer.lua: Fix brand positioning > >This patch fixes the brand positioning, allowing it to be adjusted and >also hides the "twiddle". >--- > 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 6324c22..426b8d0 100644 >--- a/stand/lua/drawer.lua >+++ b/stand/lua/drawer.lua >@@ -311,7 +311,7 @@ local function drawbrand() > if core.isFramebufferConsole() and > loader.term_putimage ~= nil and > branddef.image ~= nil then >- if loader.term_putimage(branddef.image, 1, 1, 0, 7, 0) >+ if loader.term_putimage(branddef.image, x, y, 0, 7, 0) > then > return true > end >@@ -514,6 +514,8 @@ function drawer.drawscreen(menudef) > -- it determines the positions of other elements > drawitem(drawlogo) > drawitem(drawbrand) >+ -- clear the twiddle >+ print(" ") > drawitem(drawbox) > return drawmenu(menudef) > end >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255202
:
224233
|
224234
|
224378
|
224381
|
224383
|
253925
Working