Closed dndrks closed 3 years ago
this might do it !
while v > self.max do
v = v - self.range - 1
end
while v < self.min do
v = v + self.range + 1
end
if not I have a bug in nest_
:-)
that's right; thank you; but propose we incrase val of self.range
instead.
too zonked to tackle atm, dropping this here for reminder!
repro:
goes between 2 + 3 when delta > 0, 2 and 1 when delta < 0
relevant lines: https://github.com/monome/norns/blob/d9967043529dc0b856d0c85480346517f70ee35b/lua/core/params/number.lua#L30-L45