mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Merge pull request #145 from pjft/Fix-Filtered-GameCount
Fix for Game Count display in System View when filtered
This commit is contained in:
commit
6a20acd6b0
|
@ -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] {
|
||||||
|
|
Loading…
Reference in a new issue