diff --git a/src/duckstation-qt/gamelistwidget.cpp b/src/duckstation-qt/gamelistwidget.cpp index 6193940f2..92a8e1a80 100644 --- a/src/duckstation-qt/gamelistwidget.cpp +++ b/src/duckstation-qt/gamelistwidget.cpp @@ -86,6 +86,7 @@ void GameListWidget::initialize() m_model = new GameListModel(this); m_model->setCoverScale(Host::GetBaseFloatSettingValue("UI", "GameListCoverArtScale", 0.45f)); m_model->setShowCoverTitles(Host::GetBaseBoolSettingValue("UI", "GameListShowCoverTitles", true)); + m_model->updateCacheSize(width(), height()); m_sort_model = new GameListSortModel(m_model); m_sort_model->setSourceModel(m_model); @@ -322,6 +323,7 @@ void GameListWidget::listZoom(float delta) const float new_scale = std::clamp(m_model->getCoverScale() + delta, MIN_SCALE, MAX_SCALE); Host::SetBaseFloatSettingValue("UI", "GameListCoverArtScale", new_scale); m_model->setCoverScale(new_scale); + m_model->updateCacheSize(width(), height()); updateListFont(); updateToolbar(); @@ -344,6 +346,7 @@ void GameListWidget::gridIntScale(int int_scale) Host::SetBaseFloatSettingValue("UI", "GameListCoverArtScale", new_scale); m_model->setCoverScale(new_scale); + m_model->updateCacheSize(width(), height()); updateListFont(); updateToolbar();