mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-09 07:44:32 +00:00
Qt: Fix zooming with mouse wheel in game list (#3549)
This commit is contained in:
@@ -1784,7 +1784,7 @@ void GameListListView::wheelEvent(QWheelEvent* e)
|
||||
const int dy = e->angleDelta().y();
|
||||
if (dy != 0)
|
||||
{
|
||||
adjustIconSize((dy < 0) ? ICON_SIZE_STEP : ICON_SIZE_STEP);
|
||||
adjustIconSize((dy < 0) ? -ICON_SIZE_STEP : ICON_SIZE_STEP);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user