[layout] Fix pointer handling code.
This commit is contained in:
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…
Reference in New Issue