diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-17 23:21:02 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-17 23:27:20 -0700 |
commit | c02a5ee1ff75eb80a828bcac5f73d131994dce0a (patch) | |
tree | 470da677b41edf233a1d0564c935de65918c1e01 | |
parent | e3f9908d136e752c183d745fad0d11d3769aecd8 (diff) | |
download | view.love-c02a5ee1ff75eb80a828bcac5f73d131994dce0a.tar.gz |
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.
-rw-r--r-- | commands.lua | 3 |
1 files changed, 0 insertions, 3 deletions
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) |