From 255ec2a03d5110d2ae99551c3dd42a6dbcf7bf09 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 04:38:09 +0100 Subject: launch john --- john.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/john.lua b/john.lua index d4cb071..41d81fd 100644 --- a/john.lua +++ b/john.lua @@ -20,9 +20,8 @@ local W,H = fb:get_size() local total_width = 0 for ix,iname in ipairs(monitors) do local mon = peripheral.wrap(iname) - total_width = total_width + (mon.getSize())*2 + 8 + total_width = total_width + (mon.getSize())*2 end -total_width = total_width - 8 local leftover = total_width - W local xoffs = math.floor(leftover/2) -- cgit v1.2.3