From 386d16a95a1306decabf6e9764309caf0d2818e3 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 19 Oct 2020 08:16:42 +0200 Subject: Fix body stuttering --- include/Body.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Body.hpp b/include/Body.hpp index 1e21093..9c7c1c1 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -210,7 +210,7 @@ namespace QuickMedia { bool wrap_around; // Set to {0, 0} to disable resizing sf::Vector2i thumbnail_resize_target_size; - sf::Color line_seperator_color; + sf::Color line_separator_color; BodyItemRenderCallback body_item_render_callback; sf::Shader *thumbnail_mask_shader; private: @@ -226,7 +226,7 @@ namespace QuickMedia { float page_scroll; // TODO: Use a loading gif or something similar instead, to properly indicate the image is loading. Which could also have text that says "failed to load image" when image loading failed. sf::RectangleShape image_fallback; - sf::RectangleShape item_background_shadow; + sf::RectangleShape item_separator; sf::RoundedRectangleShape item_background; sf::Sprite image; int num_visible_items; -- cgit v1.2.3