aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index dd7690f..8ef16c4 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -5360,7 +5360,7 @@ namespace QuickMedia {
Mention mention;
mention.users_tab_body = tabs[USERS_TAB_INDEX].body.get();
- const float user_mention_body_height = std::floor(300.0f * get_ui_scale());
+ const float user_mention_body_height = std::floor(300.0f * get_ui_scale() * get_font_scale());
bool frame_skip_text_entry = false;
@@ -6603,8 +6603,8 @@ namespace QuickMedia {
const float body_width = window_size.x;
this->body_pos = sf::Vector2f(0.0f, tab_shade_height);
- if(window_size.x > 900.0f && show_room_side_panel) {
- this->body_size = sf::Vector2f(std::floor(300.0f * get_ui_scale()), window_size.y - tab_shade_height);
+ if(window_size.x > 900.0f * get_font_scale() && show_room_side_panel) {
+ this->body_size = sf::Vector2f(std::floor(300.0f * get_ui_scale() * get_font_scale()), window_size.y - tab_shade_height);
draw_room_list = true;
} else {
this->body_size = sf::Vector2f(0.0f, 0.0f);