redraw_overflow_buttons = function(y) if Show_menu ~= 'overflow' then return end local bottom = y + 10 App.color(Menu_background) local overflow_button_index, overflow_width = find_overflow_button() if overflow_button_index == nil then error('overflow button not found') end love.graphics.rectangle('fill', Overflow_button.x-5, Menu_bottom, overflow_width+10, bottom - Menu_bottom) for j=overflow_button_index+1, #Global_state.button_handlers do local b = Global_state.button_handlers[j] b.icon(b) end end