Template repo for tiny cross-platform apps that can be modified on phone, tablet or computer.
mouse_press_consumed_by_any_slider = function(State, x, y)
	for name, slider in pairs(State.slider_handlers) do
		if on_slider(slider, x,y) then
			State.selected_slider = name  -- used by update across frames; slider_handlers is recreated every frame
			return true
		end
	end
end