Skip to content

Commit 6d2f3dc

Browse files
authored
Qt: Fix zooming with mouse wheel in game list (#3549)
1 parent 2514814 commit 6d2f3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/duckstation-qt/gamelistwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ void GameListListView::wheelEvent(QWheelEvent* e)
17841784
const int dy = e->angleDelta().y();
17851785
if (dy != 0)
17861786
{
1787-
adjustIconSize((dy < 0) ? ICON_SIZE_STEP : ICON_SIZE_STEP);
1787+
adjustIconSize((dy < 0) ? -ICON_SIZE_STEP : ICON_SIZE_STEP);
17881788
return;
17891789
}
17901790
}

0 commit comments

Comments
 (0)