From f7e3e41ab167ef9a0217e1bdcfcb8cd72109c610 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Fri, 28 May 2021 15:35:46 +0200 Subject: [PATCH] Fix problem with mouse cursor over dividers --- data/core/rootview.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/rootview.lua b/data/core/rootview.lua index fff7a6e7..8b3a91ae 100644 --- a/data/core/rootview.lua +++ b/data/core/rootview.lua @@ -272,7 +272,7 @@ end function Node:get_scroll_button_index(px, py) - if #self.views == 1 then return 0 end + if #self.views == 1 then return end for i = 1, 2 do local x, y, w, h = self:get_scroll_button_rect(i) if px >= x and px < x + w and py >= y and py < y + h then