Merge pull request #145 from pjft/Fix-Filtered-GameCount

Fix for Game Count display in System View when filtered
This commit is contained in:
Jools Wills 2017-05-27 12:26:45 +01:00 committed by GitHub
commit 6a20acd6b0

View file

@ -204,7 +204,7 @@ void SystemView::onCursorChanged(const CursorState& state)
mSystemInfo.setOpacity((unsigned char)(lerp<float>(infoStartOpacity, 0.f, t) * 255)); mSystemInfo.setOpacity((unsigned char)(lerp<float>(infoStartOpacity, 0.f, t) * 255));
}, (int)(infoStartOpacity * 150)); }, (int)(infoStartOpacity * 150));
unsigned int gameCount = getSelected()->getGameCount(); unsigned int gameCount = getSelected()->getDisplayedGameCount();
// also change the text after we've fully faded out // also change the text after we've fully faded out
setAnimation(infoFadeOut, 0, [this, gameCount] { setAnimation(infoFadeOut, 0, [this, gameCount] {