diff --git a/data/plugins/treeview.lua b/data/plugins/treeview.lua index 39c67907..bb7255b4 100644 --- a/data/plugins/treeview.lua +++ b/data/plugins/treeview.lua @@ -299,7 +299,7 @@ function TreeView:update() -- we don't want events when the thing is scrolling fast local dy = math.abs(self.scroll.to.y - self.scroll.y) if self.scroll.to.y ~= 0 and dy < self:get_item_height() then - self:on_mouse_moved(self.cursor_pos.x, self.cursor_pos.y, 0, self.scroll.to.y - self.scroll.y) + self:on_mouse_moved(self.cursor_pos.x, self.cursor_pos.y, 0, 0) end TreeView.super.update(self)