diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-17 23:03:43 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-17 23:03:43 -0700 |
commit | b5ff0a4764d593baf2e729f1c1cf0a3766b710c1 (patch) | |
tree | 7f899db231b0844e21df6c3a36be8a4518f2e798 | |
parent | cea2730080b80e1c8d3c4ad1196429ff282b7c1c (diff) | |
download | lines.love-b5ff0a4764d593baf2e729f1c1cf0a3766b710c1.tar.gz |
use existing local
-rw-r--r-- | commands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.lua b/commands.lua index b30013c..fa45b31 100644 --- a/commands.lua +++ b/commands.lua @@ -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) |