Start prefetch from top on search, re-centers on post click

This commit is contained in:
pax 2026-04-05 12:59:58 -05:00
parent e91d7d8a51
commit 396c008e9f

View File

@ -729,6 +729,10 @@ class BooruApp(QMainWindow):
self._grid.setFocus() self._grid.setFocus()
# Start prefetching from top of page
if self._db.get_setting_bool("prefetch_adjacent") and posts:
self._prefetch_adjacent(0)
def _fetch_thumbnail(self, index: int, url: str) -> None: def _fetch_thumbnail(self, index: int, url: str) -> None:
async def _download(): async def _download():
try: try: