From 99b8a31da09792c72f562dfb594a47c80f4f0b2f Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Sun, 10 May 2020 17:05:01 +0200 Subject: [PATCH] (indentation) --- src/gui/control/gallery_list.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/control/gallery_list.cpp b/src/gui/control/gallery_list.cpp index 093751d7..ca498a5b 100644 --- a/src/gui/control/gallery_list.cpp +++ b/src/gui/control/gallery_list.cpp @@ -134,11 +134,11 @@ void GalleryList::scrollTo(int top, bool update_scrollbar) { void GalleryList::updateScrollbar() { scrollTo(visible_start, false); - // how many lines fit on the screen? - int screen_height = mainSize(GetClientSize()); + // how many lines fit on the screen? + int screen_height = mainSize(GetClientSize()); int total_height = itemEnd(itemCount() - 1); // set the scrollbar parameters to reflect this - SetScrollbar(direction, visible_start, screen_height, total_height); + SetScrollbar(direction, visible_start, screen_height, total_height); } void GalleryList::RefreshItem(size_t item) {