diff options
-rw-r--r-- | john.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,8 +20,9 @@ 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()) + total_width = total_width + (mon.getSize())*2 + 8 end +total_width = total_width - 8 local leftover = total_width - W local xoffs = math.floor(leftover/2) |