From 8f692293fb2b7cf1b0d9ecc5105fa57cdd1bf83f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 14 Dec 2020 10:54:54 +0100 Subject: ffs, fix stutter again........................................................... --- include/Body.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') 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; }; -- cgit v1.2.3