aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 2700288..54a3b5f 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -34,8 +34,8 @@ struct BodySpacing {
};
namespace QuickMedia {
- static const int card_width = 250.0f * get_config().scale * get_config().font_scale;
- static const int card_height = 350.0f * get_config().scale * get_config().font_scale;
+ static const int card_width = 250.0f * get_config().scale;
+ static const int card_height = 350.0f * get_config().scale;
static const int min_column_spacing = 5 * get_config().scale * get_config().spacing_scale;
static const int card_padding_x = 15 * get_config().scale * get_config().spacing_scale;
@@ -99,7 +99,7 @@ namespace QuickMedia {
selected_item(0),
prev_selected_item(0),
loading_icon(&loading_icon_texture),
- progress_text("", *FontLoader::get_font(FontLoader::FontType::LATIN, get_config().body.progress_font_size * get_config().scale * get_config().font_scale)),
+ progress_text("", *FontLoader::get_font(FontLoader::FontType::LATIN, get_config().body.progress_font_size * get_config().scale * get_config().font_scale * get_config().font.scale.latin)),
embedded_item_load_text("", *FontLoader::get_font(FontLoader::FontType::LATIN, body_spacing[body_theme].embedded_item_font_size)),
num_visible_items(0),
top_cut_off(false),
@@ -1474,9 +1474,9 @@ namespace QuickMedia {
const float image_padding_x = !draw_thumbnails ? 0.0f : body_spacing[body_theme].image_padding_x;
const float text_max_width = size.x - text_offset_x - image_padding_x;
- const float text_offset_y = std::floor(6.0f * get_config().scale * get_config().font_scale);
+ const float text_offset_y = std::floor(6.0f * get_config().scale * get_config().font_scale * get_config().font.scale.latin);
- const float timestamp_text_y = std::floor(item_pos.y + padding_y - text_offset_y - std::floor(4.0f * get_config().scale * get_config().font_scale));
+ const float timestamp_text_y = std::floor(item_pos.y + padding_y - text_offset_y - std::floor(4.0f * get_config().scale * get_config().font_scale * get_config().font.scale.latin));
if(item->author_text && !merge_with_previous) {
item->author_text->set_position(vec2f_floor(item_pos.x + text_offset_x, item_pos.y + padding_y - text_offset_y));
item->author_text->draw(window);