Template repo for tiny cross-platform apps that can be modified on phone, tablet or computer.
update_sliders = function(State, x)
	if State.slider_handlers == nil then return end  -- very first frame
	for name, slider in pairs(State.slider_handlers) do
		if State.selected_slider == name then
			slider.update(slider_value(slider, x))
			break
		end
	end
end