From c02a5ee1ff75eb80a828bcac5f73d131994dce0a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 17 Sep 2022 23:21:02 -0700 Subject: delete some logs One open question is how to manage logs while drawing, since they can be extremely verbose. Neither tags nor depths seem like the right metaphor here, and that gives me pause that I perhaps don't see the full space of needs yet. --- commands.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'commands.lua') diff --git a/commands.lua b/commands.lua index 12189ba..ab8184f 100644 --- a/commands.lua +++ b/commands.lua @@ -53,19 +53,16 @@ function add_hotkey_to_menu(s) end function source.draw_file_navigator() - log_start('render file navigator') for i,file in ipairs(File_navigation.candidates) do if file == 'source' then App.color(Menu_border_color) love.graphics.line(Menu_cursor-10,2, Menu_cursor-10,Menu_status_bar_height-2) end - log(2, file) add_file_to_menu(file, i == File_navigation.index) if Menu_cursor >= App.screen.width - 5 then break end end - log_end('render file navigator') end function add_file_to_menu(s, cursor_highlight) -- cgit 1.4.1-2-gfad0