From d1edaf819b58e41c0939216bdc31a746a4c37c99 Mon Sep 17 00:00:00 2001 From: Urban Wallasch Date: Thu, 13 May 2021 20:11:03 +0200 Subject: [PATCH] * Reduced mouse wheel scroll step to one thumbnail height. --- ffpreview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffpreview.py b/ffpreview.py index 1051bf9..0179bb5 100755 --- a/ffpreview.py +++ b/ffpreview.py @@ -426,7 +426,7 @@ class tScrollArea(QScrollArea): if tlwidth < 1 or tlheight < 1: return rows = int(self.viewport().height() / tlheight + 0.5) - self.verticalScrollBar().setPageStep(rows * tlheight) + self.verticalScrollBar().setPageStep(tlheight) self.verticalScrollBar().setSingleStep(tlheight) cfg['grid_rows'] = rows cols = int((self.viewport().width()) / tlwidth) -- 2.30.2