mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Changed M-n shortcut to M-p and updated shortcut display
This commit is contained in:
parent
a6bf8dbbac
commit
9ee2d4442b
@ -149,7 +149,7 @@ void LibraryLayout::InitializeWindows() {
|
||||
this->shortcuts->AddShortcut("ALT+b", "browse");
|
||||
this->shortcuts->AddShortcut("ALT+f", "filter");
|
||||
this->shortcuts->AddShortcut("ALT+t", "tracks");
|
||||
this->shortcuts->AddShortcut("ALT+n", "playing");
|
||||
this->shortcuts->AddShortcut("ALT+p", "play queue");
|
||||
this->shortcuts->AddShortcut("ALT+s", "settings");
|
||||
|
||||
this->AddWindow(this->transportView);
|
||||
@ -188,7 +188,7 @@ bool LibraryLayout::KeyPress(const std::string& key) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else if (key == "M-n") {
|
||||
else if (key == "M-p") {
|
||||
this->ShowNowPlaying();
|
||||
return true;
|
||||
}
|
||||
|
@ -66,7 +66,6 @@ void ShortcutsWindow::Redraw() {
|
||||
std::string value;
|
||||
|
||||
int64 active = COLOR_PAIR(CURSESPP_HIGHLIGHTED_SELECTED_LIST_ITEM);
|
||||
int64 separator = COLOR_PAIR(CURSESPP_TEXT_SEPARATOR);
|
||||
|
||||
WINDOW* c = this->GetContent();
|
||||
werase(c);
|
||||
|
Loading…
Reference in New Issue
Block a user