From 5bfe7c3c9a100332a952cc211e41d174b1206c83 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 4 Aug 2022 02:47:22 +0100 Subject: chat --- chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat.lua b/chat.lua index 573d080..6e44d56 100644 --- a/chat.lua +++ b/chat.lua @@ -12,7 +12,7 @@ local wLog = window.create(M,1,1,Mw-lbw,Mh) -- wLog.setBackgroundColor(colors.blue) -- wLog.clear() -- wLog.write("LOG") -local wLb = window.create(M,Mw-lbw+1,1,lbw-1,11) +local wLb = window.create(M,Mw-lbw+1,1,lbw,11) -- wLb.setBackgroundColor(colors.red) -- wLb.clear() -- wLb.write("LB") @@ -71,7 +71,7 @@ local function draw_lb(W,scores) W.write(name) -- score W.setTextColor(colors.red) - W.setCursorPos(w-scorewidth,i+1) + W.setCursorPos(w-scorewidth+1,i+1) W.write(pad_r(score,scorewidth)) end end -- cgit v1.2.3