From 80db3cb027758488cf849292b47f28c95550c78b Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Tue, 12 Oct 2021 18:06:00 +0200 Subject: [PATCH] Fix problem with treeview x resizing The x size of the treeview plugin cannot really change expect if explicitly resized. The call to move_towards for x seems to raise a state where core.redraw is always set to true and this prevent the application to go idle. It is seen after the introduction of the dmon directory monitoring but it is not clear why it wasn't seen before. --- data/plugins/treeview.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/data/plugins/treeview.lua b/data/plugins/treeview.lua index d08db03e..5202cc78 100644 --- a/data/plugins/treeview.lua +++ b/data/plugins/treeview.lua @@ -238,8 +238,6 @@ function TreeView:update() if self.init_size then self.size.x = dest self.init_size = false - else - self:move_towards(self.size, "x", dest) end local duration = system.get_time() - self.tooltip.begin