mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibWeb: Draw a scrollbar gutter when the scrollbar is enlarged
This commit is contained in:
parent
126be42cfa
commit
66e422b4f1
Notes:
github-actions[bot]
2025-04-22 15:30:14 +00:00
Author: https://github.com/trflynn89
Commit: 66e422b4f1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4417
7 changed files with 53 additions and 35 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue