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.
This commit is contained in:
Kartik K. Agaram 2022-09-17 23:21:02 -07:00
parent e3f9908d13
commit c02a5ee1ff
1 changed files with 0 additions and 3 deletions

View File

@ -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)