[layout] Fix pointer handling code.

master
Lorenzo Cogotti 2 years ago
parent 651e095000
commit f098b1cbd5

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

Loading…
Cancel
Save