Changed the gamelist views marquee image filtering from nearest neighbor to linear.

This commit is contained in:
Leon Styhre 2021-08-19 20:31:44 +02:00
parent 4676cee4fa
commit 9546eb00ba
3 changed files with 5 additions and 5 deletions

View file

@ -331,7 +331,7 @@ void DetailedGameListView::updateInfoPanel()
CollectionSystemsManager::get()->updateCollectionFolderMetadata(file->getSystem());
if (mRandomGame) {
mThumbnail.setImage(mRandomGame->getThumbnailPath());
mMarquee.setImage(mRandomGame->getMarqueePath());
mMarquee.setImage(mRandomGame->getMarqueePath(), false, true);
mImage.setImage(mRandomGame->getImagePath());
}
else {
@ -342,7 +342,7 @@ void DetailedGameListView::updateInfoPanel()
}
else {
mThumbnail.setImage(file->getThumbnailPath());
mMarquee.setImage(file->getMarqueePath());
mMarquee.setImage(file->getMarqueePath(), false, true);
mImage.setImage(file->getImagePath());
}

View file

@ -404,7 +404,7 @@ void GridGameListView::updateInfoPanel()
fadingOut = true;
}
else {
mMarquee.setImage(file->getMarqueePath());
mMarquee.setImage(file->getMarqueePath(), false, true);
// Populate the gamelistInfo field which shows an icon if a folder has been entered
// as well as the game count for the entire system (total and favorites separately).

View file

@ -354,7 +354,7 @@ void VideoGameListView::updateInfoPanel()
CollectionSystemsManager::get()->updateCollectionFolderMetadata(file->getSystem());
if (mRandomGame) {
mThumbnail.setImage(mRandomGame->getThumbnailPath());
mMarquee.setImage(mRandomGame->getMarqueePath());
mMarquee.setImage(mRandomGame->getMarqueePath(), false, true);
mVideo->setImage(mRandomGame->getImagePath());
// Always stop the video before setting a new video as it will otherwise continue
// to play if it has the same path (i.e. it is the same physical video file) as
@ -376,7 +376,7 @@ void VideoGameListView::updateInfoPanel()
}
else {
mThumbnail.setImage(file->getThumbnailPath());
mMarquee.setImage(file->getMarqueePath());
mMarquee.setImage(file->getMarqueePath(), false, true);
mVideo->setImage(file->getImagePath());
mVideo->onHide();