diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-02 05:02:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-02 05:02:34 +0200 |
commit | 522c6ea14cd2c1569ce5ff24c0241edba1835308 (patch) | |
tree | 9cd9e496f185f46d0dde7f3fa6058241f0713afb /src/SearchBar.cpp | |
parent | ca49eef152db41ac30df2fd6a1b4631f81491b6b (diff) |
Revert tab style
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 0a86bba..2a6b089 100644 --- a/src/SearchBar.cpp +++ b/src/SearchBar.cpp @@ -166,7 +166,7 @@ namespace QuickMedia { background.set_size(sf::Vector2f(width, rect_height)); shade.setSize(sf::Vector2f(size.x, padding_top + rect_height + padding_bottom)); - caret.setSize(vec2f_round(2.0f * get_config().scale, text.getCharacterSize() + std::floor(2.0f * get_config().scale))); + caret.setSize(vec2f_floor(2.0f * get_config().scale, text.getCharacterSize() + std::floor(2.0f * get_config().scale))); background.set_position(sf::Vector2f(pos.x + offset_x, pos.y + padding_top)); shade.setPosition(pos); |