From f098b1cbd5c14784ea39d6bbdb50a163ed8ea8e8 Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Tue, 16 Aug 2022 11:33:22 +0200 Subject: [PATCH] [layout] Fix pointer handling code. --- layout.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.lua b/layout.lua index b89a59f..c5f3da8 100644 --- a/layout.lua +++ b/layout.lua @@ -122,7 +122,7 @@ function Layout:onPointerInput(px,py, clicked, down) local x,y,w,h = widget.x,widget.y,widget.w,widget.h if pointinrect(px,py, x,y,w,h) then - widget:handlePointer(px,py, clicked, down) + widget:onPointerInput(px,py, clicked, down) break end end