aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-12-14 10:54:54 +0100
committerdec05eba <dec05eba@protonmail.com>2020-12-14 10:54:54 +0100
commit8f692293fb2b7cf1b0d9ecc5105fa57cdd1bf83f (patch)
tree03fb0135271917e19edec9f94eb1cd84df135198 /include
parent951c3b640d97ebb99b6e2ec90f9f356596fbf8a5 (diff)
ffs, fix stutter again...........................................................
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index fb3f20e..62d8b27 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -236,7 +236,7 @@ namespace QuickMedia {
float get_page_scroll() const { return page_scroll; }
// This is the item we can see the end of
bool is_last_item_fully_visible() const { return last_item_fully_visible; }
- bool is_body_full_with_items() const { return body_full; }
+ bool is_body_full_with_items() const { return items_cut_off; }
int get_num_visible_items() const { return num_visible_items; };
sf::Text progress_text;
@@ -275,9 +275,7 @@ namespace QuickMedia {
double elapsed_time_sec = 0.0;
bool selected_line_top_visible = true;
bool selected_line_bottom_visible = true;
- bool top_cut_off = false;
- bool bottom_cut_off = false;
- bool body_full = false;
+ bool items_cut_off = false;
float offset_to_top = 0.0f;
float offset_to_bottom = 0.0f;
};