mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
To protect the layout system from negative input values, we were using an empty Rect() whenever an empty rect (width/height <= 0) was provided to set_relative_rect(). This caused Terminal's scrollbar code to fail, since it relies on first setting only the scrollbar width on startup, and then setting up the proper geometry in response to the initial resize event. Fixes #753.
16 KiB
16 KiB