use existing local

This commit is contained in:
Kartik K. Agaram 2022-09-17 23:03:43 -07:00
parent cea2730080
commit b5ff0a4764
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ function add_file_to_menu(s, cursor_highlight)
end
if cursor_highlight then
App.color(Menu_highlight_color)
love.graphics.rectangle('fill', Menu_cursor-5,5-2, App.width(s_text)+5*2,Editor_state.line_height+2*2)
love.graphics.rectangle('fill', Menu_cursor-5,5-2, width+5*2,Editor_state.line_height+2*2)
end
App.color(Menu_command_color)
App.screen.draw(s_text, Menu_cursor,5)