diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-18 20:37:48 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-18 20:37:48 +0200 |
commit | 24335ceccbf81e9a1bf49c1a2878c8ee31c63b69 (patch) | |
tree | 4ff1d0af2ace37f26b4a3ca36859cec2fde354c8 /src/plugins | |
parent | df95eccc5e8ef62ad9c83a925adc83926491dfb3 (diff) |
Show line at top/bottom when there are items above/below that are not visible
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 35442ed..c5c7921 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -4208,7 +4208,7 @@ namespace QuickMedia { if(!avatar_url.empty()) room_body_item->thumbnail_url = std::move(avatar_url); } - room_body_item->thumbnail_size = sf::Vector2i(32 * get_ui_scale(), 32 * get_ui_scale()); + room_body_item->thumbnail_size = {32, 32}; room_body_item->thumbnail_mask_type = ThumbnailMaskType::CIRCLE; rooms.push_back(std::move(room_body_item)); |