From b497d3ea135e643cc77afcb6d69be8bb76fefc27 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Thu, 13 May 2021 14:58:13 +0200 Subject: [PATCH] Remove debug messages from treeview --- data/plugins/treeview.lua | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/data/plugins/treeview.lua b/data/plugins/treeview.lua index 87858b54..56c9d0d1 100644 --- a/data/plugins/treeview.lua +++ b/data/plugins/treeview.lua @@ -131,17 +131,8 @@ function TreeView:each_item() for k = 1, #core.project_entries do local dir = core.project_entries[k] - if dir.item.type == "file" and dir.item.topdir then - print('dir', common.serialize(dir)) - end local dir_cached = self:get_cached(dir.item, dir.name) - if dir.item.type == "file" and dir.item.topdir then - print('cache', common.serialize(dir_cached)) - end coroutine.yield(dir_cached, ox, y, w, h) - if dir.item.type == "file" and dir.item.topdir then - print('file topdir yielded') - end count_lines = count_lines + 1 y = y + h local i = 1 @@ -167,9 +158,6 @@ function TreeView:each_item() end end end -- while files - if dir.item.type == "file" and dir.item.topdir then - print('loop over files terminated') - end end -- for directories self.count_lines = count_lines end) @@ -330,7 +318,6 @@ function TreeView:draw() -- text x = x + spacing - print('item.name', item.name) x = common.draw_text(style.font, color, item.name, nil, x, y, 0, h) end