mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-18 22:50:24 +01:00
gamelist: scroll fix (workaround)
This commit is contained in:
parent
f577af452d
commit
ab198c0c5f
|
|
@ -476,7 +476,9 @@ void game_list_frame::Refresh(bool fromDrive)
|
|||
gameList->verticalHeader()->setMaximumSectionSize(m_Icon_Size.height());
|
||||
gameList->resizeRowsToContents();
|
||||
gameList->resizeColumnToContents(0);
|
||||
gameList->scrollTo(gameList->currentIndex());
|
||||
gameList->scrollToTop(); // fix drunk scroll behaviour (may still not be perfect)
|
||||
gameList->scrollToBottom(); // fix drunk scroll behaviour (may still not be perfect)
|
||||
gameList->scrollTo(gameList->currentIndex(), QAbstractItemView::PositionAtCenter);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue