I’m using v1.2.19.2 and this code:
166 :slider{
167 id = "r8",
168 label = "Red ",
169 min = 0,
170 max = 255,
171 value = 0
172 onchange = function()
173 swatchUpdate()
174 end
175 }
Produces this error:
‘}’ expected (to close ‘{’ at line 166) near ‘onchange’
How do we use the onchange event?