smallpond

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/smallpond
Log | Files | Refs

commit 0252f515378d4fc104128f1406e2a5c9ca532aa1
parent 25443c0185e9a2e07a932ddb7dc1877263e2cc99
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Fri, 30 Sep 2022 00:09:34 -0500

multistaff timing layout is correct

Diffstat:
Msmallpond.lua | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/smallpond.lua b/smallpond.lua @@ -287,10 +287,19 @@ while true do if timed then if staff2[name][i].time then - lowesttime = staff2[name].time + if not lowesttime then + lowesttime = staff2[name][i].time + end + + if lowesttime > staff2[name][i].time then + lowesttime = staff2[name][i].time + todraw = {[1] = {staff=name, i=i}} + goto continue + end + empty = false table.insert(todraw, {staff=name, i=i}) - print("inserted timed element") + print("inserted timed element", staff2[name][i].time) else todraw = {} table.insert(todraw, {staff=name, i=i})