[layout] Fix pointer handling code.

This commit is contained in:
Lorenzo Cogotti 2022-08-16 11:33:22 +02:00
parent 651e095000
commit f098b1cbd5
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ function Layout:onPointerInput(px,py, clicked, down)
local x,y,w,h = widget.x,widget.y,widget.w,widget.h local x,y,w,h = widget.x,widget.y,widget.w,widget.h
if pointinrect(px,py, x,y,w,h) then if pointinrect(px,py, x,y,w,h) then
widget:handlePointer(px,py, clicked, down) widget:onPointerInput(px,py, clicked, down)
break break
end end
end end