misc: code formatting + readme update

This commit is contained in:
Brendan Hagan
2022-12-30 22:12:44 -05:00
parent e4cf30cc5b
commit 2770b07668
3 changed files with 8 additions and 15 deletions
-9
View File
@@ -72,15 +72,6 @@ void GalleryList::select(size_t item, size_t subcolumn, bool event) {
}
void GalleryList::update() {
// ensure selection is visible
/*SubColumn col = subcolumns[active_subcolumn];
if (col.selection != NO_SELECTION) {
if (itemStart(col.selection) < visible_start) {
scrollTo(itemStart(col.selection), false);
} else if (itemEnd(col.selection) > visibleEnd()) {
scrollTo(itemEnd(col.selection) + visible_start - visibleEnd(), false);
}
}*/
updateScrollbar();
Refresh(false);
InvalidateBestSize();