Update sPhone.lua
This commit is contained in:
parent
07a721e723
commit
47612015d6
1 changed files with 2 additions and 2 deletions
|
@ -382,9 +382,9 @@ end
|
|||
if #fmessage >= #smessage then
|
||||
local w, h = term.getSize
|
||||
term.setBackgroundColor(side)
|
||||
paintutils.drawBox(11 - math.ceil(#fmessage / 2), 5, 16 + math.ceil(#fmessage / 2), 10, side)
|
||||
paintutils.drawBox(14 - math.ceil(#fmessage / 2), 5, 13 + math.ceil(#fmessage / 2), 10, side)
|
||||
term.setBackgroundColor(bg)
|
||||
paintutils.drawFilledBox(12 - math.ceil(#fmessage / 2), 6, 15 + math.ceil(#fmessage / 2), 9, bg)
|
||||
paintutils.drawFilledBox(15 - math.ceil(#fmessage / 2), 6, 12 + math.ceil(#fmessage / 2), 9, bg)
|
||||
term.setCursorPos(14 - math.ceil(#fmessage / 2), 7)
|
||||
term.setTextColor(text)
|
||||
write(fmessage)
|
||||
|
|
Loading…
Reference in a new issue