mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibGUI: Recheck size excesses when scrollbars become visible
Fixes edge cases in which hidden scrollbars could become visible and obscure content or fail to hide when no longer needed
This commit is contained in:
parent
8789a91a4e
commit
2df219d608
2 changed files with 23 additions and 15 deletions
|
@ -57,6 +57,7 @@ public:
|
|||
bool is_scrollbars_enabled() const { return m_scrollbars_enabled; }
|
||||
|
||||
Gfx::IntSize available_size() const;
|
||||
Gfx::IntSize excess_size() const;
|
||||
|
||||
ScrollBar& vertical_scrollbar() { return *m_vertical_scrollbar; }
|
||||
const ScrollBar& vertical_scrollbar() const { return *m_vertical_scrollbar; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue