mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:57:42 +00:00
![]() Image boxes want to know whether they are inside the visible viewport. This is used to pause/resume animations, and to update the purgeable memory volatility state. Previously we would traverse the entire layout tree on every resize, calling a helper on each ImageBox. Make those boxes register with the frame they are interested in instead, saving us all that traversal. This also makes it easier for other parts of the code to learn about viewport changes in the future. :^) |
||
---|---|---|
.. | ||
EditEventHandler.cpp | ||
EditEventHandler.h | ||
EventHandler.cpp | ||
EventHandler.h | ||
Frame.cpp | ||
Frame.h | ||
Page.cpp | ||
Page.h |