aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-19 08:16:42 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-19 08:16:42 +0200
commit386d16a95a1306decabf6e9764309caf0d2818e3 (patch)
treebf8ba2f2a3462957e6ebcae873a42892a1f104b5 /include/Body.hpp
parent0b6f4abda7eb9696ada9c6cf0da54499fe1a0e53 (diff)
Fix body stuttering
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp4
1 files changed, 2 insertions, 2 deletions
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;