LibWeb: Draw a scrollbar gutter when the scrollbar is enlarged

This commit is contained in:
Timothy Flynn 2025-04-21 09:10:55 -04:00 committed by Tim Flynn
commit 66e422b4f1
Notes: github-actions[bot] 2025-04-22 15:30:14 +00:00
7 changed files with 53 additions and 35 deletions

View file

@ -258,8 +258,9 @@ protected:
virtual CSSPixelRect compute_absolute_paint_rect() const;
struct ScrollbarData {
CSSPixelRect gutter_rect;
CSSPixelRect thumb_rect;
CSSPixelFraction scroll_length;
CSSPixelFraction scroll_length { 0 };
};
enum class ScrollDirection {
Horizontal,