mirror of
https://codeberg.org/1414codeforge/yui.git
synced 2025-06-05 22:19:11 +02:00
[layout] Fix pointer handling code.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user