bump crengine: fix drawing position of bottom and right borders (#4013)

Also let tap propagate when a Notification is displayed.
pull/4022/head
poire-z 6 years ago committed by GitHub
parent 8a179f3371
commit 6e8cb23d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit 03b4670a2cd7fbdcc7d47783e67fb459277f9166
Subproject commit d1d11d157e90ce88bcc3837a82345e8256eabe3c

@ -92,14 +92,18 @@ end
function Notification:onAnyKeyPressed()
-- triggered by our defined key events
UIManager:close(self)
if self.readonly ~= true then
if not self.timeout then
return true
end
end
function Notification:onTapClose()
UIManager:close(self)
if self.readonly ~= true then
-- If timeout (usually 1s or 2s), let it propagate so an underlying
-- widget can process the tap whether it's done at 1.9s or 2.1s
-- If no timout, don't propagate as this tap is most probably meant
-- at dismissing the notification
if not self.timeout then
return true
end
end

Loading…
Cancel
Save