mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-02 13:54:07 +00:00
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.
2.2 KiB
2.2 KiB