summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-10-10 21:28:57 +0100
committerAndreas Kling <kling@serenityos.org>2022-10-13 11:16:27 +0200
commit450792018744299782c59ce400c9e03a7c361aeb (patch)
treee75289b2e7ed611648617f836542d74a01f9dbba /.github/workflows
parentf5e68fcc2056f3deae6183a3906dcf66f05107f2 (diff)
downloadserenity-450792018744299782c59ce400c9e03a7c361aeb.zip
LibWeb: Fix position: fixed canvases/images disappearing when scrolling
This fixes the Serenity logo vanishing after scrolling on the 4th birthday post. The previous check did not account for any translation in the painter. This now uses the painter's clip rect and translation to work out if a rect is visible. It also makes use of `absolute_paint_rect()` rather than `absolute_rect()` which can account for things like box-shadows.
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions