diff options
Diffstat (limited to 'plexSdOsd.cpp')
| -rw-r--r-- | plexSdOsd.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plexSdOsd.cpp b/plexSdOsd.cpp index 67ab462..5e93b1b 100644 --- a/plexSdOsd.cpp +++ b/plexSdOsd.cpp @@ -86,7 +86,6 @@ eOSState cPlexSdOsd::ProcessKey(eKeys Key) return eOSState::osContinue; } } - if (m_pBrowserGrid->DrawTime()) m_pBrowserGrid->Flush(); state = ProcessKeyBrowserView(Key); } @@ -98,7 +97,7 @@ eOSState cPlexSdOsd::ProcessKeyDetailView(eKeys Key) { eOSState state = eOSState::osContinue; plexclient::Video* vid = NULL; - + switch (Key & ~k_Repeat) { case kUp: if(m_pDetailGrid->NavigateUp()) Flush(); @@ -154,6 +153,8 @@ eOSState cPlexSdOsd::ProcessKeyDetailView(eKeys Key) state = eOSState::osEnd; } + if (state != osEnd && m_pDetailGrid->DrawTime()) m_pDetailGrid->Flush(); + return state; } @@ -221,6 +222,8 @@ eOSState cPlexSdOsd::ProcessKeyBrowserView(eKeys Key) state = eOSState::osEnd; } + if (state != osEnd && m_pBrowserGrid->DrawTime()) m_pBrowserGrid->Flush(); + return state; } |
