From cc3a65bde2e480b2b07b74eeef20d9081d7f730f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 2 Jun 2021 17:42:30 +0200 Subject: Add modern theme Join matrix room by their name instead of id if there is a name. This allows you to join rooms where the homeserver that created the room is no longer participating in the room. --- src/SearchBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SearchBar.cpp') 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; -- cgit v1.2.3