aboutsummaryrefslogtreecommitdiff
path: root/src/SearchBar.cpp
diff options
context:
space:
mode:
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 c0a8aad..f7e732a 100644
--- a/src/SearchBar.cpp
+++ b/src/SearchBar.cpp
@@ -154,7 +154,7 @@ namespace QuickMedia {
void SearchBar::onWindowResize(const sf::Vector2f &size) {
draw_logo = plugin_logo_sprite.getTexture() != nullptr;
- if(size.x * 2.0f < 400.0f)
+ if(size.x < 400.0f)
draw_logo = false;
float font_height = text.getCharacterSize() + 7.0f;