From: Urban Wallasch Date: Thu, 13 May 2021 18:11:03 +0000 (+0200) Subject: * Reduced mouse wheel scroll step to one thumbnail height. X-Git-Tag: v0.3~66 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=d1edaf819b58e41c0939216bdc31a746a4c37c99;p=ffpreview.git * Reduced mouse wheel scroll step to one thumbnail height. --- 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)