bugfix: missing variable in a button

This commit is contained in:
Kartik K. Agaram 2023-11-22 22:08:32 -08:00
parent 31ddbd9c81
commit 52abeafc47
2 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ draw_menu = function()
love.graphics.print(Current_pane_index, x+5, Menu_top+5+2)
App.color(Normal_color)
x = x+5 + App.width(tostring(Current_pane_index)) + 10
x = run_button(x, y, r)
x = stop_button(x, y, r)
x = run_button(x, y)
x = stop_button(x, y)
-- assume screen will always be wide enough to print this far without overflow
if not Overflow_button then
local w = App.width('code')+10

View File

@ -1,4 +1,4 @@
show_code_button = function(x, y)
show_code_button = function(x, y, r)
local w = App.width('show')+10
local x2, y2 = maybe_draw_overflow_button(x, y, w, r)
if Overflow_button then