diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-18 20:37:48 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-18 20:37:48 +0200 |
commit | 24335ceccbf81e9a1bf49c1a2878c8ee31c63b69 (patch) | |
tree | 4ff1d0af2ace37f26b4a3ca36859cec2fde354c8 /src/SearchBar.cpp | |
parent | df95eccc5e8ef62ad9c83a925adc83926491dfb3 (diff) |
Show line at top/bottom when there are items above/below that are not visible
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r-- | src/SearchBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SearchBar.cpp b/src/SearchBar.cpp index c1f9ceb..31e54fb 100644 --- a/src/SearchBar.cpp +++ b/src/SearchBar.cpp @@ -268,7 +268,7 @@ namespace QuickMedia { float SearchBar::getBottomWithoutShadow() const { float font_height = text.getCharacterSize() + 7.0f; - return std::floor(font_height + background_margin_vertical * 2.0f) + padding_top + padding_bottom; + return std::floor(font_height + background_margin_vertical * 2.0f + padding_top + padding_bottom); } std::string SearchBar::get_text() const { |