1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

GScrollBar: Make the scrubber size proportional to the scrollable range.

This commit is contained in:
Andreas Kling 2019-03-29 02:51:19 +01:00
parent a5135dbf01
commit c77d369b75
2 changed files with 13 additions and 5 deletions

View file

@ -38,6 +38,7 @@ private:
Rect upper_gutter_rect() const;
Rect lower_gutter_rect() const;
Rect scrubber_rect() const;
int scrubber_size() const;
int scrubbable_range_in_pixels() const;
int m_min { 0 };