ConfirmBox: prevent lower widgets from responding to tap

This commit is contained in:
poire-z
2020-01-02 14:00:57 +01:00
committed by Frans de Jonge
parent 1a7d2dd657
commit 378dfdc1df

View File

@@ -168,9 +168,9 @@ end
function ConfirmBox:onTapClose(arg, ges)
if ges.pos:notIntersectWith(self[1][1].dimen) then
self:onClose()
return true
end
return false
-- Don't let it propagate to underlying widgets
return true
end
function ConfirmBox:onSelect()