diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-01 04:38:09 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-01 04:38:09 +0100 |
commit | 255ec2a03d5110d2ae99551c3dd42a6dbcf7bf09 (patch) | |
tree | 0beb4f6c5ddcd6427052f2695051967f2488d7dd | |
parent | f5218ece59d046af7e6364c44d5d6ba890a58431 (diff) |
launch john
-rw-r--r-- | john.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |