mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00: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
Notes:
github-actions[bot]
2025-05-06 13:39:22 +00:00
Author: https://github.com/trflynn89
Commit: 4fc8443757
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4622
1 changed files with 1 additions and 0 deletions
|
@ -411,6 +411,7 @@ struct PaintScrollBar {
|
|||
|
||||
void translate_by(Gfx::IntPoint const& offset)
|
||||
{
|
||||
gutter_rect.translate_by(offset);
|
||||
thumb_rect.translate_by(offset);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue