![]() This PR fixes an issue where the horizontal scrollbar was sometimes not rendered despite being needed for the outline and project panels. The issue occured since `self.width` does not neccessarily have to be set when the scrollbar is rendered (it is only set on panel resize). However, the check for a `width` is not needed at all since the scrollbar constructor determines whether a scrollbar has to be rendered or not. Hence, this does not need to be special-cased. Furthermore, since `Scrollbar::horizontal()` returns `Some(...)` when a scrollbar needs to be rendered, we do not have to check for this seperately on the scroll handle and can just map on the option. This simplifies the code a bit. | `main` | This PR | | --- | --- | |  |  | Release Notes: - Fixed an issue where the horizontal scrollbar would not render in the project and outline panels. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |