* Reduced mouse wheel scroll step to one thumbnail height.
authorUrban Wallasch <urban.wallasch@freenet.de>
Thu, 13 May 2021 18:11:03 +0000 (20:11 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Thu, 13 May 2021 18:11:03 +0000 (20:11 +0200)
ffpreview.py

index 1051bf9a93bb7a2bb0877bff156c36703baeaaae..0179bb54513eab2e8648077723fac8cb965f9b72 100755 (executable)
@@ -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)