bugfix: missing variable in a button
This commit is contained in:
parent
31ddbd9c81
commit
52abeafc47
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue