mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed ESC behavior in Library mode to only show the play queue when in
browse mode -- otherwise show browse.
This commit is contained in:
parent
279b7996e5
commit
d25f2a1633
@ -206,8 +206,7 @@ IWindowPtr LibraryLayout::GetFocus() {
|
||||
|
||||
bool LibraryLayout::KeyPress(const std::string& key) {
|
||||
if (key == "^[") { /* switches between browse/now playing */
|
||||
if (this->visibleLayout == this->nowPlayingLayout ||
|
||||
this->visibleLayout == this->searchLayout) {
|
||||
if (this->visibleLayout != this->browseLayout) {
|
||||
this->ShowBrowse();
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user