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.
This commit is contained in:
Francesco Abbate 2021-10-12 18:06:00 +02:00
parent a0f4ac93e1
commit 80db3cb027
1 changed files with 0 additions and 2 deletions

View File

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