aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-18 20:37:48 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-18 20:37:48 +0200
commit24335ceccbf81e9a1bf49c1a2878c8ee31c63b69 (patch)
tree4ff1d0af2ace37f26b4a3ca36859cec2fde354c8 /src/plugins
parentdf95eccc5e8ef62ad9c83a925adc83926491dfb3 (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.cpp2
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));