mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Translate scrollbar gutters by the cumulative scroll offset
This `translate_by` function is invoked with the cumulative scroll
offset during display list execution. Applying the offset to the gutter
was missed in 66e422b4f1.
This commit is contained in:
parent
9d5f6108e4
commit
4fc8443757
|
|
@ -411,6 +411,7 @@ struct PaintScrollBar {
|
|||
|
||||
void translate_by(Gfx::IntPoint const& offset)
|
||||
{
|
||||
gutter_rect.translate_by(offset);
|
||||
thumb_rect.translate_by(offset);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user