From f0a48f72eaf81fa4db7601abeac05fde42baec74 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sun, 7 Apr 2019 23:52:00 -0700 Subject: [PATCH] Pause/resume "fix" in LyricsLayout.cpp --- src/musikcube/app/layout/LyricsLayout.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/musikcube/app/layout/LyricsLayout.cpp b/src/musikcube/app/layout/LyricsLayout.cpp index 7e83e3539..5a7e4a996 100644 --- a/src/musikcube/app/layout/LyricsLayout.cpp +++ b/src/musikcube/app/layout/LyricsLayout.cpp @@ -86,6 +86,10 @@ bool LyricsLayout::KeyPress(const std::string& kn) { this->LoadLyricsForCurrentTrack(); return true; } + else if (kn == " ") { /* ugh... need to generalize this maybe */ + playback.PauseOrResume(); + return true; + } return LayoutBase::KeyPress(kn); }