This commit is contained in:
jane 2021-10-08 01:14:04 -04:00
parent 901f23feae
commit 80729c5fa7

View file

@ -122,7 +122,8 @@ export const functions = {
requires_arg1: true, requires_arg1: true,
requires_arg2: true, requires_arg2: true,
convert_args: true, convert_args: true,
}, }
),
slide: new Function( slide: new Function(
(index, arg1, arg2) => { (index, arg1, arg2) => {
return (num_ticks + arg2) % 255; return (num_ticks + arg2) % 255;
@ -130,9 +131,8 @@ export const functions = {
{ {
requires_arg1: true, requires_arg1: true,
requires_arg2: true, requires_arg2: true,
convert_args: true convert_args: true,
} }
)
), ),
}; };