aboutsummaryrefslogtreecommitdiff
path: root/src/SearchBar.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-02 05:02:34 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-02 05:02:34 +0200
commit522c6ea14cd2c1569ce5ff24c0241edba1835308 (patch)
tree9cd9e496f185f46d0dde7f3fa6058241f0713afb /src/SearchBar.cpp
parentca49eef152db41ac30df2fd6a1b4631f81491b6b (diff)
Revert tab style
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r--src/SearchBar.cpp2
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);