(indentation)

This commit is contained in:
Twan van Laarhoven
2020-05-10 17:05:01 +02:00
parent e8eacac5e7
commit 99b8a31da0
+3 -3
View File
@@ -134,11 +134,11 @@ void GalleryList::scrollTo(int top, bool update_scrollbar) {
void GalleryList::updateScrollbar() { void GalleryList::updateScrollbar() {
scrollTo(visible_start, false); scrollTo(visible_start, false);
// how many lines fit on the screen? // how many lines fit on the screen?
int screen_height = mainSize(GetClientSize()); int screen_height = mainSize(GetClientSize());
int total_height = itemEnd(itemCount() - 1); int total_height = itemEnd(itemCount() - 1);
// set the scrollbar parameters to reflect this // 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) { void GalleryList::RefreshItem(size_t item) {